#3E0F69#3E0F69

#3E0F69 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.142 H 301.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#3E0F69
RGBrgb(62, 15, 105)
HSLhsl(271, 75%, 24%)
HSVhsv(271, 86%, 41%)
CMYKcmyk(41%, 85.7%, 0%, 58.8%)
CIE-LABlab(17.39, 39.67, -42.34)
CIE-LCHlch(17.39, 58.02, 313.14°)
OKLaboklab(30.61% 0.0748 -0.121)
OKLCHoklch(30.61% 0.142 301.7)
XYZxyz(4.7066, 2.3857, 13.5744)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F69 #3A690F
analogous
#110F69 #3E0F69 #690F67
triadic
#3E0F69 #693E0F #0F693E
tetradic
#3E0F69 #69110F #3A690F #0F6769
square
#3E0F69 #69110F #3A690F #0F6769
split-complementary
#3E0F69 #67690F #0F6911
monochromatic
#10041B #1E0733 #3E0F69 #5E179F #7D1ED4

Accessibility & contrast

On white

14.22
#3E0F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E0F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F69
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F69#FFFFFF#000000##FFFFFF
##3E0F691.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#34283D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e0f69;
/* rgb */ color: rgb(62, 15, 105);
/* oklch */ color: oklch(30.6% 0.142 301.7);
Tailwind
colors: {
  custom: {
    50: '#795595',
    500: '#3e0f69',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f69;
$custom-light: #795595;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f69",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 271.333,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30609,
    "c": 0.14223,
    "h": 301.7
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#3E0F69
secondary
#67A132
accent
#F23690
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E0F69

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

Preview Lab → · Contrast checker → · Palette generator →

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