#3C0F53#3C0F53

#3C0F53 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.118 H 311.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#3C0F53
RGBrgb(60, 15, 83)
HSLhsl(280, 69%, 19%)
HSVhsv(280, 82%, 33%)
CMYKcmyk(27.7%, 81.9%, 0%, 67.5%)
CIE-LABlab(15.10, 33.80, -31.40)
CIE-LCHlch(15.10, 46.13, 317.10°)
OKLaboklab(28.32% 0.0778 -0.0889)
OKLCHoklch(28.32% 0.118 311.2)
XYZxyz(3.5953, 1.9269, 8.3645)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F53 #26530F
analogous
#1A0F53 #3C0F53 #530F48
triadic
#3C0F53 #533C0F #0F533C
tetradic
#3C0F53 #531A0F #26530F #0F4853
square
#3C0F53 #531A0F #26530F #0F4853
split-complementary
#3C0F53 #48530F #0F531A
monochromatic
#13051A #17061F #3C0F53 #611887 #8722BB

Accessibility & contrast

On white

15.16
#3C0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3C0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F53
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F53#FFFFFF#000000##FFFFFF
##3C0F531.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#032752
Tritanopia (blue-blind)
#391F30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0f53;
/* rgb */ color: rgb(60, 15, 83);
/* oklch */ color: oklch(28.3% 0.118 311.2);
Tailwind
colors: {
  custom: {
    50: '#755384',
    500: '#3c0f53',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f53;
$custom-light: #755384;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f53",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 279.706,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28323,
    "c": 0.11814,
    "h": 311.2
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#3C0F53
secondary
#508D31
accent
#EC3C77
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0F53

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3C0F53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva