#3E2376#3E2376

#3E2376 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.134 H 292.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#3E2376
RGBrgb(62, 35, 118)
HSLhsl(260, 54%, 30%)
HSVhsv(260, 70%, 46%)
CMYKcmyk(47.5%, 70.3%, 0%, 53.7%)
CIE-LABlab(22.07, 33.41, -43.13)
CIE-LCHlch(22.07, 54.55, 307.76°)
OKLaboklab(34.27% 0.0521 -0.1234)
OKLCHoklch(34.27% 0.134 292.9)
XYZxyz(5.8568, 3.5340, 17.5096)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2376 #5B7623
analogous
#233276 #3E2376 #672376
triadic
#3E2376 #763E23 #23763E
tetradic
#3E2376 #762332 #5B7623 #237667
square
#3E2376 #762332 #5B7623 #237667
split-complementary
#3E2376 #766723 #327623
monochromatic
#0C0718 #251547 #3E2376 #5731A5 #734AC9

Accessibility & contrast

On white

12.30
#3E2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3E2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2376
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2376#FFFFFF#000000##FFFFFF
##3E23761.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#2E3749
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e2376;
/* rgb */ color: rgb(62, 35, 118);
/* oklch */ color: oklch(34.3% 0.134 292.9);
Tailwind
colors: {
  custom: {
    50: '#79609e',
    500: '#3e2376',
    950: '#000000',
  },
}
SCSS
$custom: #3e2376;
$custom-light: #79609e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2376",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 259.518,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.34274,
    "c": 0.13399,
    "h": 292.9
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#3E2376
secondary
#8BA94C
accent
#DE4AAE
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E2376

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

Preview Lab → · Contrast checker → · Palette generator →

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