#3E1979#3E1979

#3E1979 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.150 H 294.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#3E1979
RGBrgb(62, 25, 121)
HSLhsl(263, 66%, 29%)
HSVhsv(263, 79%, 47%)
CMYKcmyk(48.8%, 79.3%, 0%, 52.5%)
CIE-LABlab(20.44, 39.61, -47.71)
CIE-LCHlch(20.44, 62.01, 309.70°)
OKLaboklab(33.2% 0.0613 -0.1368)
OKLCHoklch(33.2% 0.15 294.1)
XYZxyz(5.7845, 3.0997, 18.3790)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1979 #547919
analogous
#192479 #3E1979 #6E1979
triadic
#3E1979 #793E19 #19793E
tetradic
#3E1979 #791924 #547919 #19796E
square
#3E1979 #791924 #547919 #19796E
split-complementary
#3E1979 #796E19 #247919
monochromatic
#0D0519 #240F46 #3E1979 #5823AC #7437D6

Accessibility & contrast

On white

12.96
#3E1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1979
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1979#FFFFFF#000000##FFFFFF
##3E19791.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#2C3348
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1979;
/* rgb */ color: rgb(62, 25, 121);
/* oklch */ color: oklch(33.2% 0.150 294.1);
Tailwind
colors: {
  custom: {
    50: '#7a5aa1',
    500: '#3e1979',
    950: '#000000',
  },
}
SCSS
$custom: #3e1979;
$custom-light: #7a5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1979",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 263.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33204,
    "c": 0.14993,
    "h": 294.1
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#3E1979
secondary
#83AE40
accent
#E93FA7
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1979

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

Preview Lab → · Contrast checker → · Palette generator →

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