#3E0F74#3E0F74

#3E0F74 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.154 H 297.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#3E0F74
RGBrgb(62, 15, 116)
HSLhsl(268, 77%, 26%)
HSVhsv(268, 87%, 45%)
CMYKcmyk(46.6%, 87.1%, 0%, 54.5%)
CIE-LABlab(18.48, 42.50, -47.71)
CIE-LCHlch(18.48, 63.89, 311.70°)
OKLaboklab(31.69% 0.0708 -0.1367)
OKLCHoklch(31.69% 0.154 297.4)
XYZxyz(5.3090, 2.6266, 16.7469)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F74 #45740F
analogous
#0F1274 #3E0F74 #700F74
triadic
#3E0F74 #743E0F #0F743E
tetradic
#3E0F74 #740F12 #45740F #0F7470
square
#3E0F74 #740F12 #45740F #0F7470
split-complementary
#3E0F74 #74700F #12740F
monochromatic
#0E041B #21083E #3E0F74 #5B16AA #781DE0

Accessibility & contrast

On white

13.77
#3E0F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F74
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F74#FFFFFF#000000##FFFFFF
##3E0F741.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#2F2D43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e0f74;
/* rgb */ color: rgb(62, 15, 116);
/* oklch */ color: oklch(31.7% 0.154 297.4);
Tailwind
colors: {
  custom: {
    50: '#7a559d',
    500: '#3e0f74',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f74;
$custom-light: #7a559d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f74",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 267.921,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31694,
    "c": 0.15397,
    "h": 297.4
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#3E0F74
secondary
#74AC33
accent
#F4349B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E0F74

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

Preview Lab → · Contrast checker → · Palette generator →

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