#3C0F55#3C0F55

#3C0F55 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.120 H 310.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#3C0F55
RGBrgb(60, 15, 85)
HSLhsl(279, 70%, 20%)
HSVhsv(279, 82%, 33%)
CMYKcmyk(29.4%, 82.4%, 0%, 66.7%)
CIE-LABlab(15.27, 34.28, -32.49)
CIE-LCHlch(15.27, 47.23, 316.54°)
OKLaboklab(28.49% 0.0774 -0.0921)
OKLCHoklch(28.49% 0.12 310)
XYZxyz(3.6737, 1.9583, 8.7770)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F55 #28550F
analogous
#190F55 #3C0F55 #550F4B
triadic
#3C0F55 #553C0F #0F553C
tetradic
#3C0F55 #55190F #28550F #0F4B55
square
#3C0F55 #55190F #28550F #0F4B55
split-complementary
#3C0F55 #4B550F #0F5519
monochromatic
#12051A #170621 #3C0F55 #611889 #8521BD

Accessibility & contrast

On white

15.09
#3C0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F55
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F55#FFFFFF#000000##FFFFFF
##3C0F551.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#382031
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0f55;
/* rgb */ color: rgb(60, 15, 85);
/* oklch */ color: oklch(28.5% 0.120 310.0);
Tailwind
colors: {
  custom: {
    50: '#755385',
    500: '#3c0f55',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f55;
$custom-light: #755385;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f55",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 278.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28494,
    "c": 0.12029,
    "h": 310
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#3C0F55
secondary
#528F31
accent
#ED3B7B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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