#3E0F76#3E0F76

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

Color values

HEX#3E0F76
RGBrgb(62, 15, 118)
HSLhsl(267, 77%, 26%)
HSVhsv(267, 87%, 46%)
CMYKcmyk(47.5%, 87.3%, 0%, 53.7%)
CIE-LABlab(18.69, 43.02, -48.66)
CIE-LCHlch(18.69, 64.95, 311.48°)
OKLaboklab(31.9% 0.07 -0.1395)
OKLCHoklch(31.9% 0.156 296.7)
XYZxyz(5.4266, 2.6737, 17.3662)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F76 #47760F
analogous
#0F1376 #3E0F76 #710F76
triadic
#3E0F76 #763E0F #0F763E
tetradic
#3E0F76 #760F13 #47760F #0F7671
square
#3E0F76 #760F13 #47760F #0F7671
split-complementary
#3E0F76 #76710F #13760F
monochromatic
#0E031B #210840 #3E0F76 #5B16AC #771DE2

Accessibility & contrast

On white

13.68
#3E0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3E0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F76
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F76#FFFFFF#000000##FFFFFF
##3E0F761.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#2E2E44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e0f76;
/* rgb */ color: rgb(62, 15, 118);
/* oklch */ color: oklch(31.9% 0.156 296.7);
Tailwind
colors: {
  custom: {
    50: '#7a559e',
    500: '#3e0f76',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f76;
$custom-light: #7a559e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f76",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 267.379,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31897,
    "c": 0.1561,
    "h": 296.7
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#3E0F76
secondary
#76AD33
accent
#F4349C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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