#3E197D#3E197D

#3E197D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.155 H 292.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#3E197D
RGBrgb(62, 25, 125)
HSLhsl(262, 67%, 29%)
HSVhsv(262, 80%, 49%)
CMYKcmyk(50.4%, 80%, 0%, 51%)
CIE-LABlab(20.83, 40.73, -49.62)
CIE-LCHlch(20.83, 64.20, 309.38°)
OKLaboklab(33.59% 0.0601 -0.1424)
OKLCHoklch(33.59% 0.155 292.9)
XYZxyz(6.0349, 3.1999, 19.6977)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E197D #587D19
analogous
#19267D #3E197D #70197D
triadic
#3E197D #7D3E19 #197D3E
tetradic
#3E197D #7D1926 #587D19 #197D70
square
#3E197D #7D1926 #587D19 #197D70
split-complementary
#3E197D #7D7019 #267D19
monochromatic
#0D051A #250F4A #3E197D #5723B0 #7439D7

Accessibility & contrast

On white

12.80
#3E197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3E197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E197D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E197D#FFFFFF#000000##FFFFFF
##3E197D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#2A354A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e197d;
/* rgb */ color: rgb(62, 25, 125);
/* oklch */ color: oklch(33.6% 0.155 292.9);
Tailwind
colors: {
  custom: {
    50: '#7b5aa4',
    500: '#3e197d',
    950: '#000000',
  },
}
SCSS
$custom: #3e197d;
$custom-light: #7b5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e197d",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 262.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33594,
    "c": 0.15459,
    "h": 292.9
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#3E197D
secondary
#88B140
accent
#EA3EAA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E197D

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

Preview Lab → · Contrast checker → · Palette generator →

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