#3E2E73#3E2E73

#3E2E73 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.9% C 0.114 H 290.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3E2E73
RGBrgb(62, 46, 115)
HSLhsl(254, 43%, 32%)
HSVhsv(254, 60%, 45%)
CMYKcmyk(46.1%, 60%, 0%, 54.9%)
CIE-LABlab(24.37, 25.70, -37.47)
CIE-LCHlch(24.37, 45.44, 304.44°)
OKLaboklab(35.88% 0.0392 -0.1068)
OKLCHoklch(35.88% 0.114 290.1)
XYZxyz(6.0572, 4.2157, 16.7109)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E73 #63732E
analogous
#2E4173 #3E2E73 #612E73
triadic
#3E2E73 #733E2E #2E733E
tetradic
#3E2E73 #732E41 #63732E #2E7361
square
#3E2E73 #732E41 #63732E #2E7361
split-complementary
#3E2E73 #73612E #41732E
monochromatic
#0F0B1C #261D47 #3E2E73 #563F9F #745DBE

Accessibility & contrast

On white

11.39
#3E2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3E2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E73
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E73#FFFFFF#000000##FFFFFF
##3E2E731.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033B75
Deuteranopia (green-blind)
#073872
Tritanopia (blue-blind)
#2E3D4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2e73;
/* rgb */ color: rgb(62, 46, 115);
/* oklch */ color: oklch(35.9% 0.114 290.1);
Tailwind
colors: {
  custom: {
    50: '#77679c',
    500: '#3e2e73',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e73;
$custom-light: #77679c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e73",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 253.913,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35875,
    "c": 0.11376,
    "h": 290.1
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#3E2E73
secondary
#93A458
accent
#D355B6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3E2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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