#3E2B80#3E2B80

#3E2B80 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.136 H 287.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#3E2B80
RGBrgb(62, 43, 128)
HSLhsl(253, 50%, 34%)
HSVhsv(253, 66%, 50%)
CMYKcmyk(51.6%, 66.4%, 0%, 49.8%)
CIE-LABlab(24.67, 31.71, -45.24)
CIE-LCHlch(24.67, 55.24, 305.03°)
OKLaboklab(36.42% 0.042 -0.1296)
OKLCHoklch(36.42% 0.136 287.9)
XYZxyz(6.7456, 4.3101, 20.8944)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B80 #6D802B
analogous
#2B4280 #3E2B80 #682B80
triadic
#3E2B80 #803E2B #2B803E
tetradic
#3E2B80 #802B42 #6D802B #2B8068
square
#3E2B80 #802B42 #6D802B #2B8068
split-complementary
#3E2B80 #80682B #42802B
monochromatic
#120C24 #281C52 #3E2B80 #543AAE #755DC9

Accessibility & contrast

On white

11.28
#3E2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B80
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B80#FFFFFF#000000##FFFFFF
##3E2B801.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#274051
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2b80;
/* rgb */ color: rgb(62, 43, 128);
/* oklch */ color: oklch(36.4% 0.136 287.9);
Tailwind
colors: {
  custom: {
    50: '#7a65a6',
    500: '#3e2b80',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b80;
$custom-light: #7a65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b80",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 253.412,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36415,
    "c": 0.13627,
    "h": 287.9
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#3E2B80
secondary
#9BAE58
accent
#D94FBA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #3E2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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