#3E2E8A#3E2E8A

#3E2E8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.146 H 285.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3E2E8A
RGBrgb(62, 46, 138)
HSLhsl(250, 50%, 36%)
HSVhsv(250, 67%, 54%)
CMYKcmyk(55.1%, 66.7%, 0%, 45.9%)
CIE-LABlab(26.19, 33.06, -49.01)
CIE-LCHlch(26.19, 59.12, 304.00°)
OKLaboklab(37.78% 0.0377 -0.1407)
OKLCHoklch(37.78% 0.146 285)
XYZxyz(7.5497, 4.8127, 24.5710)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E8A #7A8A2E
analogous
#2E4C8A #3E2E8A #6C2E8A
triadic
#3E2E8A #8A3E2E #2E8A3E
tetradic
#3E2E8A #8A2E4C #7A8A2E #2E8A6C
square
#3E2E8A #8A2E4C #7A8A2E #2E8A6C
split-complementary
#3E2E8A #8A6C2E #4C8A2E
monochromatic
#150F2E #291F5C #3E2E8A #533DB8 #7866CC

Accessibility & contrast

On white

10.70
#3E2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E8A
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E8A#FFFFFF#000000##FFFFFF
##3E2E8A1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#1E4557
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e2e8a;
/* rgb */ color: rgb(62, 46, 138);
/* oklch */ color: oklch(37.8% 0.146 285.0);
Tailwind
colors: {
  custom: {
    50: '#7b68ad',
    500: '#3e2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e8a;
$custom-light: #7b68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e8a",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 250.435,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37781,
    "c": 0.1457,
    "h": 285
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#3E2E8A
secondary
#A5B361
accent
#DA4EC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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