#3E2B83#3E2B83

#3E2B83 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.140 H 287.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3E2B83
RGBrgb(62, 43, 131)
HSLhsl(253, 51%, 34%)
HSVhsv(253, 67%, 51%)
CMYKcmyk(52.7%, 67.2%, 0%, 48.6%)
CIE-LABlab(24.92, 32.66, -46.72)
CIE-LCHlch(24.92, 57.00, 304.96°)
OKLaboklab(36.68% 0.0417 -0.134)
OKLCHoklch(36.68% 0.14 287.3)
XYZxyz(6.9460, 4.3902, 21.9497)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B83 #70832B
analogous
#2B4483 #3E2B83 #6A2B83
triadic
#3E2B83 #833E2B #2B833E
tetradic
#3E2B83 #832B44 #70832B #2B836A
square
#3E2B83 #832B44 #70832B #2B836A
split-complementary
#3E2B83 #836A2B #44832B
monochromatic
#120D27 #281C55 #3E2B83 #543AB1 #765ECA

Accessibility & contrast

On white

11.18
#3E2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B83
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B83#FFFFFF#000000##FFFFFF
##3E2B831.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#244153
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2b83;
/* rgb */ color: rgb(62, 43, 131);
/* oklch */ color: oklch(36.7% 0.140 287.3);
Tailwind
colors: {
  custom: {
    50: '#7a65a8',
    500: '#3e2b83',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b83;
$custom-light: #7a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b83",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 252.955,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36675,
    "c": 0.1403,
    "h": 287.3
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#3E2B83
secondary
#9DB05A
accent
#DA4EBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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