#3E1FC2#3E1FC2

#3E1FC2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.5% C 0.228 H 278.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#3E1FC2
RGBrgb(62, 31, 194)
HSLhsl(251, 72%, 44%)
HSVhsv(251, 84%, 76%)
CMYKcmyk(68%, 84%, 0%, 23.9%)
CIE-LABlab(29.15, 57.67, -78.00)
CIE-LCHlch(29.15, 97.00, 306.48°)
OKLaboklab(41.55% 0.0337 -0.2252)
OKLCHoklch(41.55% 0.228 278.5)
XYZxyz(12.2111, 5.8981, 51.5234)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1FC2 #A3C21F
analogous
#1F52C2 #3E1FC2 #901FC2
triadic
#3E1FC2 #C23E1F #1FC23E
tetradic
#3E1FC2 #C21F52 #A3C21F #1FC290
square
#3E1FC2 #C21F52 #A3C21F #1FC290
split-complementary
#3E1FC2 #C2901F #52C21F
monochromatic
#1C0E58 #2D178D #3E1FC2 #5D3EE0 #8973E9

Accessibility & contrast

On white

9.63
#3E1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3E1FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1FC2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1FC2#FFFFFF#000000##FFFFFF
##3E1FC21.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC6
Deuteranopia (green-blind)
#003EBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e1fc2;
/* rgb */ color: rgb(62, 31, 194);
/* oklch */ color: oklch(41.5% 0.228 278.5);
Tailwind
colors: {
  custom: {
    50: '#8762d6',
    500: '#3e1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3e1fc2;
$custom-light: #8762d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1fc2",
  "rgb": {
    "r": 62,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 251.411,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.22775,
    "h": 278.5
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#3E1FC2
secondary
#BDCF6D
accent
#EF39CC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3E1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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