#3F0F59#3F0F59

#3F0F59 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.126 H 310.2°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#3F0F59
RGBrgb(63, 15, 89)
HSLhsl(279, 71%, 20%)
HSVhsv(279, 83%, 35%)
CMYKcmyk(29.2%, 83.1%, 0%, 65.1%)
CIE-LABlab(16.10, 35.88, -33.81)
CIE-LCHlch(16.10, 49.30, 316.70°)
OKLaboklab(29.29% 0.081 -0.0959)
OKLCHoklch(29.29% 0.126 310.2)
XYZxyz(4.0235, 2.1198, 9.6465)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F59 #29590F
analogous
#1A0F59 #3F0F59 #590F4E
triadic
#3F0F59 #593F0F #0F593F
tetradic
#3F0F59 #591A0F #29590F #0F4E59
square
#3F0F59 #591A0F #29590F #0F4E59
split-complementary
#3F0F59 #4E590F #0F591A
monochromatic
#13041A #1A0625 #3F0F59 #64188D #8921C2

Accessibility & contrast

On white

14.75
#3F0F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3F0F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F59
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F59#FFFFFF#000000##FFFFFF
##3F0F591.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002957
Tritanopia (blue-blind)
#3B2134
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f0f59;
/* rgb */ color: rgb(63, 15, 89);
/* oklch */ color: oklch(29.3% 0.126 310.2);
Tailwind
colors: {
  custom: {
    50: '#785488',
    500: '#3f0f59',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f59;
$custom-light: #785488;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f59",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 278.919,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29292,
    "c": 0.12553,
    "h": 310.2
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#3F0F59
secondary
#539331
accent
#EE3A79
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0F59

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

Preview Lab → · Contrast checker → · Palette generator →

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