#3E2E85#3E2E85

#3E2E85 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.3% C 0.139 H 286.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3E2E85
RGBrgb(62, 46, 133)
HSLhsl(251, 49%, 35%)
HSVhsv(251, 65%, 52%)
CMYKcmyk(53.4%, 65.4%, 0%, 47.8%)
CIE-LABlab(25.78, 31.45, -46.58)
CIE-LCHlch(25.78, 56.20, 304.03°)
OKLaboklab(37.35% 0.0382 -0.1336)
OKLCHoklch(37.35% 0.139 286)
XYZxyz(7.1960, 4.6712, 22.7082)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E85 #75852E
analogous
#2E4A85 #3E2E85 #692E85
triadic
#3E2E85 #853E2E #2E853E
tetradic
#3E2E85 #852E4A #75852E #2E8569
square
#3E2E85 #852E4A #75852E #2E8569
split-complementary
#3E2E85 #85692E #4A852E
monochromatic
#140F2A #291E58 #3E2E85 #533EB2 #7764C9

Accessibility & contrast

On white

10.86
#3E2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3E2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E85
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E85#FFFFFF#000000##FFFFFF
##3E2E851.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#234355
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e2e85;
/* rgb */ color: rgb(62, 46, 133);
/* oklch */ color: oklch(37.3% 0.139 286.0);
Tailwind
colors: {
  custom: {
    50: '#7a68a9',
    500: '#3e2e85',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e85;
$custom-light: #7a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e85",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 251.034,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37347,
    "c": 0.13893,
    "h": 286
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#3E2E85
secondary
#A1B05F
accent
#D850BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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