#3E2B79#3E2B79

#3E2B79 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.127 H 289.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#3E2B79
RGBrgb(62, 43, 121)
HSLhsl(255, 48%, 32%)
HSVhsv(255, 64%, 47%)
CMYKcmyk(48.8%, 64.5%, 0%, 52.5%)
CIE-LABlab(24.10, 29.50, -41.73)
CIE-LCHlch(24.10, 51.10, 305.26°)
OKLaboklab(35.82% 0.0426 -0.1193)
OKLCHoklch(35.82% 0.127 289.7)
XYZxyz(6.3007, 4.1321, 18.5510)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B79 #66792B
analogous
#2B3F79 #3E2B79 #652B79
triadic
#3E2B79 #793E2B #2B793E
tetradic
#3E2B79 #792B3F #66792B #2B7965
square
#3E2B79 #792B3F #66792B #2B7965
split-complementary
#3E2B79 #79652B #3F792B
monochromatic
#100B1F #271B4C #3E2B79 #553BA6 #745AC4

Accessibility & contrast

On white

11.50
#3E2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3E2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B79
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B79#FFFFFF#000000##FFFFFF
##3E2B791.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#2B3D4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e2b79;
/* rgb */ color: rgb(62, 43, 121);
/* oklch */ color: oklch(35.8% 0.127 289.7);
Tailwind
colors: {
  custom: {
    50: '#7965a0',
    500: '#3e2b79',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b79;
$custom-light: #7965a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b79",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 254.615,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35824,
    "c": 0.12672,
    "h": 289.7
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#3E2B79
secondary
#96AA56
accent
#D751B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #3E2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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