#3F0C59#3F0C59

#3F0C59 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.129 H 310.6°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#3F0C59
RGBrgb(63, 12, 89)
HSLhsl(280, 76%, 20%)
HSVhsv(280, 87%, 35%)
CMYKcmyk(29.2%, 86.5%, 0%, 65.1%)
CIE-LABlab(15.70, 37.04, -34.46)
CIE-LCHlch(15.70, 50.59, 317.07°)
OKLaboklab(29.01% 0.0838 -0.0978)
OKLCHoklch(29.01% 0.129 310.6)
XYZxyz(3.9842, 2.0411, 9.6333)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C59 #26590C
analogous
#180C59 #3F0C59 #590C4D
triadic
#3F0C59 #593F0C #0C593F
tetradic
#3F0C59 #59180C #26590C #0C4D59
square
#3F0C59 #59180C #26590C #0C4D59
split-complementary
#3F0C59 #4D590C #0C5918
monochromatic
#13041B #190523 #3F0C59 #65138F #8B1BC5

Accessibility & contrast

On white

14.91
#3F0C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F0C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C59
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C59#FFFFFF#000000##FFFFFF
##3F0C591.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#3B2033
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0c59;
/* rgb */ color: rgb(63, 12, 89);
/* oklch */ color: oklch(29.0% 0.129 310.6);
Tailwind
colors: {
  custom: {
    50: '#785288',
    500: '#3f0c59',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c59;
$custom-light: #785288;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c59",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 89
  },
  "hsl": {
    "h": 279.74,
    "s": 76.238,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2901,
    "c": 0.12876,
    "h": 310.6
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#3F0C59
secondary
#50942D
accent
#F33575
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0C59

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

Preview Lab → · Contrast checker → · Palette generator →

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