#3F0F76#3F0F76

#3F0F76 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.156 H 297.3°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#3F0F76
RGBrgb(63, 15, 118)
HSLhsl(268, 77%, 26%)
HSVhsv(268, 87%, 46%)
CMYKcmyk(46.6%, 87.3%, 0%, 53.7%)
CIE-LABlab(18.83, 43.16, -48.42)
CIE-LCHlch(18.83, 64.86, 311.71°)
OKLaboklab(32.02% 0.0717 -0.1388)
OKLCHoklch(32.02% 0.156 297.3)
XYZxyz(5.4899, 2.7063, 17.3692)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F76 #46760F
analogous
#0F1276 #3F0F76 #720F76
triadic
#3F0F76 #763F0F #0F763F
tetradic
#3F0F76 #760F12 #46760F #0F7672
square
#3F0F76 #760F12 #46760F #0F7672
split-complementary
#3F0F76 #76720F #12760F
monochromatic
#0E031B #220840 #3F0F76 #5C16AC #791DE2

Accessibility & contrast

On white

13.63
#3F0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3F0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F76
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F76#FFFFFF#000000##FFFFFF
##3F0F761.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#302E44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f0f76;
/* rgb */ color: rgb(63, 15, 118);
/* oklch */ color: oklch(32.0% 0.156 297.3);
Tailwind
colors: {
  custom: {
    50: '#7b569e',
    500: '#3f0f76',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f76;
$custom-light: #7b569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f76",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 267.961,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32024,
    "c": 0.15621,
    "h": 297.3
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#3F0F76
secondary
#75AD33
accent
#F4349A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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