#3F0D59#3F0D59

#3F0D59 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.128 H 310.5°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3F0D59
RGBrgb(63, 13, 89)
HSLhsl(279, 75%, 20%)
HSVhsv(279, 85%, 35%)
CMYKcmyk(29.2%, 85.4%, 0%, 65.1%)
CIE-LABlab(15.83, 36.67, -34.25)
CIE-LCHlch(15.83, 50.18, 316.95°)
OKLaboklab(29.1% 0.0829 -0.0972)
OKLCHoklch(29.1% 0.128 310.5)
XYZxyz(3.9966, 2.0660, 9.6375)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D59 #27590D
analogous
#190D59 #3F0D59 #590D4D
triadic
#3F0D59 #593F0D #0D593F
tetradic
#3F0D59 #59190D #27590D #0D4D59
square
#3F0D59 #59190D #27590D #0D4D59
split-complementary
#3F0D59 #4D590D #0D5919
monochromatic
#13041B #190524 #3F0D59 #65158E #8B1DC4

Accessibility & contrast

On white

14.86
#3F0D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D59
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D59#FFFFFF#000000##FFFFFF
##3F0D591.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.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: #3f0d59;
/* rgb */ color: rgb(63, 13, 89);
/* oklch */ color: oklch(29.1% 0.128 310.5);
Tailwind
colors: {
  custom: {
    50: '#785388',
    500: '#3f0d59',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d59;
$custom-light: #785388;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d59",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 89
  },
  "hsl": {
    "h": 279.474,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.291,
    "c": 0.12773,
    "h": 310.5
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#3F0D59
secondary
#51932E
accent
#F13776
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0D59

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

Preview Lab → · Contrast checker → · Palette generator →

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