#3E2E8D#3E2E8D

#3E2E8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.150 H 284.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#3E2E8D
RGBrgb(62, 46, 141)
HSLhsl(250, 51%, 37%)
HSVhsv(250, 67%, 55%)
CMYKcmyk(56%, 67.4%, 0%, 44.7%)
CIE-LABlab(26.45, 34.03, -50.46)
CIE-LCHlch(26.45, 60.86, 303.99°)
OKLaboklab(38.05% 0.0373 -0.145)
OKLCHoklch(38.05% 0.15 284.4)
XYZxyz(7.7699, 4.9008, 25.7307)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E8D #7D8D2E
analogous
#2E4E8D #3E2E8D #6E2E8D
triadic
#3E2E8D #8D3E2E #2E8D3E
tetradic
#3E2E8D #8D2E4E #7D8D2E #2E8D6E
square
#3E2E8D #8D2E4E #7D8D2E #2E8D6E
split-complementary
#3E2E8D #8D6E2E #4E8D2E
monochromatic
#151031 #2A1F5F #3E2E8D #523DBB #7968CE

Accessibility & contrast

On white

10.60
#3E2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E8D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E8D#FFFFFF#000000##FFFFFF
##3E2E8D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#1B4659
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e2e8d;
/* rgb */ color: rgb(62, 46, 141);
/* oklch */ color: oklch(38.0% 0.150 284.4);
Tailwind
colors: {
  custom: {
    50: '#7c68af',
    500: '#3e2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e8d;
$custom-light: #7c68af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e8d",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 250.105,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.14971,
    "h": 284.4
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#3E2E8D
secondary
#A7B562
accent
#DA4EC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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