#3E2576#3E2576

#3E2576 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.131 H 292.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#3E2576
RGBrgb(62, 37, 118)
HSLhsl(259, 52%, 30%)
HSVhsv(259, 69%, 46%)
CMYKcmyk(47.5%, 68.6%, 0%, 53.7%)
CIE-LABlab(22.50, 32.23, -42.43)
CIE-LCHlch(22.50, 53.28, 307.22°)
OKLaboklab(34.58% 0.0499 -0.1214)
OKLCHoklch(34.58% 0.131 292.3)
XYZxyz(5.9173, 3.6551, 17.5298)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2576 #5D7625
analogous
#253476 #3E2576 #672576
triadic
#3E2576 #763E25 #25763E
tetradic
#3E2576 #762534 #5D7625 #257667
square
#3E2576 #762534 #5D7625 #257667
split-complementary
#3E2576 #766725 #347625
monochromatic
#0D0819 #261647 #3E2576 #5634A5 #734EC7

Accessibility & contrast

On white

12.13
#3E2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3E2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2576
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2576#FFFFFF#000000##FFFFFF
##3E25761.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#2D384A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2576;
/* rgb */ color: rgb(62, 37, 118);
/* oklch */ color: oklch(34.6% 0.131 292.3);
Tailwind
colors: {
  custom: {
    50: '#79619e',
    500: '#3e2576',
    950: '#000000',
  },
}
SCSS
$custom: #3e2576;
$custom-light: #79619e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2576",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 258.519,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.13124,
    "h": 292.3
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#3E2576
secondary
#8DA94E
accent
#DC4CAF
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E2576

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

Preview Lab → · Contrast checker → · Palette generator →

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