#3E1473#3E1473

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

Color values

HEX#3E1473
RGBrgb(62, 20, 115)
HSLhsl(267, 70%, 26%)
HSVhsv(267, 83%, 45%)
CMYKcmyk(46.1%, 82.6%, 0%, 54.9%)
CIE-LABlab(19.06, 40.25, -46.10)
CIE-LCHlch(19.06, 61.20, 311.12°)
OKLaboklab(32.07% 0.0674 -0.1321)
OKLCHoklch(32.07% 0.148 297)
XYZxyz(5.3305, 2.7621, 16.4686)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1473 #497314
analogous
#141A73 #3E1473 #6E1473
triadic
#3E1473 #733E14 #14733E
tetradic
#3E1473 #73141A #497314 #14736E
square
#3E1473 #73141A #497314 #14736E
split-complementary
#3E1473 #736E14 #1A7314
monochromatic
#0E051A #220B3F #3E1473 #5A1DA7 #7628DA

Accessibility & contrast

On white

13.53
#3E1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1473
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1473#FFFFFF#000000##FFFFFF
##3E14731.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1473;
/* rgb */ color: rgb(62, 20, 115);
/* oklch */ color: oklch(32.1% 0.148 297.0);
Tailwind
colors: {
  custom: {
    50: '#7a579c',
    500: '#3e1473',
    950: '#000000',
  },
}
SCSS
$custom: #3e1473;
$custom-light: #7a579c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1473",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 266.526,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32067,
    "c": 0.14829,
    "h": 297
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#3E1473
secondary
#78A93A
accent
#ED3B9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1473

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

Preview Lab → · Contrast checker → · Palette generator →

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