#3E1373#3E1373

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

Color values

HEX#3E1373
RGBrgb(62, 19, 115)
HSLhsl(267, 72%, 26%)
HSVhsv(267, 83%, 45%)
CMYKcmyk(46.1%, 83.5%, 0%, 54.9%)
CIE-LABlab(18.92, 40.67, -46.34)
CIE-LCHlch(18.92, 61.66, 311.27°)
OKLaboklab(31.97% 0.0682 -0.1328)
OKLCHoklch(31.97% 0.149 297.2)
XYZxyz(5.3132, 2.7276, 16.4629)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1373 #487313
analogous
#131873 #3E1373 #6E1373
triadic
#3E1373 #733E13 #13733E
tetradic
#3E1373 #731318 #487313 #13736E
square
#3E1373 #731318 #487313 #13736E
split-complementary
#3E1373 #736E13 #187313
monochromatic
#0E041A #220A3E #3E1373 #5A1CA8 #7725DB

Accessibility & contrast

On white

13.59
#3E1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1373
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1373#FFFFFF#000000##FFFFFF
##3E13731.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#302E43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1373;
/* rgb */ color: rgb(62, 19, 115);
/* oklch */ color: oklch(32.0% 0.149 297.2);
Tailwind
colors: {
  custom: {
    50: '#7a579c',
    500: '#3e1373',
    950: '#000000',
  },
}
SCSS
$custom: #3e1373;
$custom-light: #7a579c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1373",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 266.875,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31965,
    "c": 0.14928,
    "h": 297.2
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#3E1373
secondary
#77AA38
accent
#EE399D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1373

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

Preview Lab → · Contrast checker → · Palette generator →

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