#3E2E79#3E2E79

#3E2E79 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.4% C 0.122 H 288.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3E2E79
RGBrgb(62, 46, 121)
HSLhsl(253, 45%, 33%)
HSVhsv(253, 62%, 47%)
CMYKcmyk(48.8%, 62%, 0%, 52.5%)
CIE-LABlab(24.82, 27.60, -40.57)
CIE-LCHlch(24.82, 49.07, 304.23°)
OKLaboklab(36.35% 0.0391 -0.1159)
OKLCHoklch(36.35% 0.122 288.6)
XYZxyz(6.4138, 4.3583, 18.5888)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E79 #69792E
analogous
#2E4379 #3E2E79 #632E79
triadic
#3E2E79 #793E2E #2E793E
tetradic
#3E2E79 #792E43 #69792E #2E7963
square
#3E2E79 #792E43 #69792E #2E7963
split-complementary
#3E2E79 #79632E #43792E
monochromatic
#110C20 #271D4D #3E2E79 #553FA5 #745FC2

Accessibility & contrast

On white

11.22
#3E2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E2E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E79
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E79#FFFFFF#000000##FFFFFF
##3E2E791.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#2B3F4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2e79;
/* rgb */ color: rgb(62, 46, 121);
/* oklch */ color: oklch(36.4% 0.122 288.6);
Tailwind
colors: {
  custom: {
    50: '#7867a0',
    500: '#3e2e79',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e79;
$custom-light: #7867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e79",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 252.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3635,
    "c": 0.1223,
    "h": 288.6
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#3E2E79
secondary
#98A95A
accent
#D553B9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #3E2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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