#3E1374#3E1374

#3E1374 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.150 H 296.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#3E1374
RGBrgb(62, 19, 116)
HSLhsl(267, 72%, 26%)
HSVhsv(267, 84%, 45%)
CMYKcmyk(46.6%, 83.6%, 0%, 54.5%)
CIE-LABlab(19.02, 40.94, -46.83)
CIE-LCHlch(19.02, 62.20, 311.16°)
OKLaboklab(32.06% 0.0679 -0.1342)
OKLCHoklch(32.06% 0.15 296.8)
XYZxyz(5.3710, 2.7507, 16.7676)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1374 #497413
analogous
#131974 #3E1374 #6F1374
triadic
#3E1374 #743E13 #13743E
tetradic
#3E1374 #741319 #497413 #13746F
square
#3E1374 #741319 #497413 #13746F
split-complementary
#3E1374 #746F13 #197413
monochromatic
#0E041A #220A3F #3E1374 #5A1CA9 #7626DB

Accessibility & contrast

On white

13.55
#3E1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3E1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1374
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1374#FFFFFF#000000##FFFFFF
##3E13741.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#2F2F44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1374;
/* rgb */ color: rgb(62, 19, 116);
/* oklch */ color: oklch(32.1% 0.150 296.8);
Tailwind
colors: {
  custom: {
    50: '#7a579d',
    500: '#3e1374',
    950: '#000000',
  },
}
SCSS
$custom: #3e1374;
$custom-light: #7a579d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1374",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 266.598,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32063,
    "c": 0.15039,
    "h": 296.8
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#3E1374
secondary
#78AA38
accent
#EF399E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1374

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

Preview Lab → · Contrast checker → · Palette generator →

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