#3E1970#3E1970

#3E1970 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.139 H 297.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#3E1970
RGBrgb(62, 25, 112)
HSLhsl(266, 64%, 27%)
HSVhsv(266, 78%, 44%)
CMYKcmyk(44.6%, 77.7%, 0%, 56.1%)
CIE-LABlab(19.59, 37.09, -43.30)
CIE-LCHlch(19.59, 57.02, 310.59°)
OKLaboklab(32.35% 0.0638 -0.1239)
OKLCHoklch(32.35% 0.139 297.3)
XYZxyz(5.2581, 2.8891, 15.6067)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1970 #4B7019
analogous
#192070 #3E1970 #6A1970
triadic
#3E1970 #703E19 #19703E
tetradic
#3E1970 #701920 #4B7019 #19706A
square
#3E1970 #701920 #4B7019 #19706A
split-complementary
#3E1970 #706A19 #207019
monochromatic
#0E0619 #220E3E #3E1970 #5A24A2 #7632D1

Accessibility & contrast

On white

13.31
#3E1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3E1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1970
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1970#FFFFFF#000000##FFFFFF
##3E19701.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#313043
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e1970;
/* rgb */ color: rgb(62, 25, 112);
/* oklch */ color: oklch(32.4% 0.139 297.3);
Tailwind
colors: {
  custom: {
    50: '#795a9a',
    500: '#3e1970',
    950: '#000000',
  },
}
SCSS
$custom: #3e1970;
$custom-light: #795a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1970",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 265.517,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32351,
    "c": 0.13935,
    "h": 297.3
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#3E1970
secondary
#7AA540
accent
#E741A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1970

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

Preview Lab → · Contrast checker → · Palette generator →

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