#3E2D85#3E2D85

#3E2D85 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.140 H 286.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3E2D85
RGBrgb(62, 45, 133)
HSLhsl(252, 49%, 35%)
HSVhsv(252, 66%, 52%)
CMYKcmyk(53.4%, 66.2%, 0%, 47.8%)
CIE-LABlab(25.55, 32.07, -46.95)
CIE-LCHlch(25.55, 56.86, 304.33°)
OKLaboklab(37.18% 0.0393 -0.1347)
OKLCHoklch(37.18% 0.14 286.3)
XYZxyz(7.1574, 4.5940, 22.6953)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D85 #74852D
analogous
#2D4885 #3E2D85 #6A2D85
triadic
#3E2D85 #853E2D #2D853E
tetradic
#3E2D85 #852D48 #74852D #2D856A
square
#3E2D85 #852D48 #74852D #2D856A
split-complementary
#3E2D85 #856A2D #48852D
monochromatic
#130E2A #291E57 #3E2D85 #533CB3 #7662CA

Accessibility & contrast

On white

10.94
#3E2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3E2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D85
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D85#FFFFFF#000000##FFFFFF
##3E2D851.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2d85;
/* rgb */ color: rgb(62, 45, 133);
/* oklch */ color: oklch(37.2% 0.140 286.3);
Tailwind
colors: {
  custom: {
    50: '#7a67a9',
    500: '#3e2d85',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d85;
$custom-light: #7a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d85",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 251.591,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37179,
    "c": 0.1403,
    "h": 286.3
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#3E2D85
secondary
#A0B05D
accent
#D94FBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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