#3E167D#3E167D

#3E167D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.158 H 293.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3E167D
RGBrgb(62, 22, 125)
HSLhsl(263, 70%, 29%)
HSVhsv(263, 82%, 49%)
CMYKcmyk(50.4%, 82.4%, 0%, 51%)
CIE-LABlab(20.36, 42.10, -50.39)
CIE-LCHlch(20.36, 65.66, 309.87°)
OKLaboklab(33.27% 0.0625 -0.1447)
OKLCHoklch(33.27% 0.158 293.4)
XYZxyz(5.9742, 3.0784, 19.6775)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E167D #557D16
analogous
#16227D #3E167D #72167D
triadic
#3E167D #7D3E16 #167D3E
tetradic
#3E167D #7D1622 #557D16 #167D72
square
#3E167D #7D1622 #557D16 #167D72
split-complementary
#3E167D #7D7216 #227D16
monochromatic
#0D051A #240D49 #3E167D #581FB1 #7432DB

Accessibility & contrast

On white

13.00
#3E167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3E167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E167D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E167D#FFFFFF#000000##FFFFFF
##3E167D1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#2A344A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e167d;
/* rgb */ color: rgb(62, 22, 125);
/* oklch */ color: oklch(33.3% 0.158 293.4);
Tailwind
colors: {
  custom: {
    50: '#7b59a4',
    500: '#3e167d',
    950: '#000000',
  },
}
SCSS
$custom: #3e167d;
$custom-light: #7b59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e167d",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 263.301,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33265,
    "c": 0.15758,
    "h": 293.4
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#3E167D
secondary
#84B23D
accent
#ED3BA8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E167D

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

Preview Lab → · Contrast checker → · Palette generator →

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