#3E1471#3E1471

#3E1471 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.146 H 297.8°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#3E1471
RGBrgb(62, 20, 113)
HSLhsl(267, 70%, 26%)
HSVhsv(267, 82%, 44%)
CMYKcmyk(45.1%, 82.3%, 0%, 55.7%)
CIE-LABlab(18.87, 39.71, -45.13)
CIE-LCHlch(18.87, 60.11, 311.34°)
OKLaboklab(31.87% 0.0681 -0.1292)
OKLCHoklch(31.87% 0.146 297.8)
XYZxyz(5.2166, 2.7166, 15.8691)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1471 #477114
analogous
#141871 #3E1471 #6C1471
triadic
#3E1471 #713E14 #14713E
tetradic
#3E1471 #711418 #477114 #14716C
square
#3E1471 #711418 #477114 #14716C
split-complementary
#3E1471 #716C14 #187114
monochromatic
#0E051A #210B3D #3E1471 #5B1DA5 #7727D9

Accessibility & contrast

On white

13.61
#3E1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3E1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1471
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1471#FFFFFF#000000##FFFFFF
##3E14711.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#312E42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1471;
/* rgb */ color: rgb(62, 20, 113);
/* oklch */ color: oklch(31.9% 0.146 297.8);
Tailwind
colors: {
  custom: {
    50: '#79579b',
    500: '#3e1471',
    950: '#000000',
  },
}
SCSS
$custom: #3e1471;
$custom-light: #79579b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1471",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 267.097,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31873,
    "c": 0.14605,
    "h": 297.8
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#3E1471
secondary
#76A739
accent
#ED3B9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1471

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

Preview Lab → · Contrast checker → · Palette generator →

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