#3E2D79#3E2D79

#3E2D79 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.2% C 0.124 H 289.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3E2D79
RGBrgb(62, 45, 121)
HSLhsl(253, 46%, 33%)
HSVhsv(253, 63%, 47%)
CMYKcmyk(48.8%, 62.8%, 0%, 52.5%)
CIE-LABlab(24.58, 28.24, -40.96)
CIE-LCHlch(24.58, 49.75, 304.58°)
OKLaboklab(36.17% 0.0403 -0.1171)
OKLCHoklch(36.17% 0.124 289)
XYZxyz(6.3752, 4.2811, 18.5759)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D79 #68792D
analogous
#2D4279 #3E2D79 #642D79
triadic
#3E2D79 #793E2D #2D793E
tetradic
#3E2D79 #792D42 #68792D #2D7964
square
#3E2D79 #792D42 #68792D #2D7964
split-complementary
#3E2D79 #79642D #42792D
monochromatic
#100C20 #271C4C #3E2D79 #553EA6 #745DC3

Accessibility & contrast

On white

11.31
#3E2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D79
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D79#FFFFFF#000000##FFFFFF
##3E2D791.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#2B3E4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2d79;
/* rgb */ color: rgb(62, 45, 121);
/* oklch */ color: oklch(36.2% 0.124 289.0);
Tailwind
colors: {
  custom: {
    50: '#7867a0',
    500: '#3e2d79',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d79;
$custom-light: #7867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d79",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 253.421,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36172,
    "c": 0.12379,
    "h": 289
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#3E2D79
secondary
#97A958
accent
#D552B8
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #3E2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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