#3E2A73#3E2A73

#3E2A73 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.2% C 0.120 H 291.7°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#3E2A73
RGBrgb(62, 42, 115)
HSLhsl(256, 46%, 31%)
HSVhsv(256, 63%, 45%)
CMYKcmyk(46.1%, 63.5%, 0%, 54.9%)
CIE-LABlab(23.40, 28.25, -39.05)
CIE-LCHlch(23.40, 48.19, 305.88°)
OKLaboklab(35.16% 0.0442 -0.1114)
OKLCHoklch(35.16% 0.12 291.7)
XYZxyz(5.9082, 3.9177, 16.6612)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A73 #5F732A
analogous
#2A3A73 #3E2A73 #622A73
triadic
#3E2A73 #733E2A #2A733E
tetradic
#3E2A73 #732A3A #5F732A #2A7362
square
#3E2A73 #732A3A #5F732A #2A7362
split-complementary
#3E2A73 #73622A #3A732A
monochromatic
#0E0919 #261A46 #3E2A73 #563AA0 #7356C1

Accessibility & contrast

On white

11.77
#3E2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3E2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2A73
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A73#FFFFFF#000000##FFFFFF
##3E2A731.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#2F3B4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e2a73;
/* rgb */ color: rgb(62, 42, 115);
/* oklch */ color: oklch(35.2% 0.120 291.7);
Tailwind
colors: {
  custom: {
    50: '#78649c',
    500: '#3e2a73',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a73;
$custom-light: #78649c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a73",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 256.438,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.1199,
    "h": 291.7
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#3E2A73
secondary
#8FA554
accent
#D652B2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3E2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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