#3E207D#3E207D

#3E207D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.147 H 291.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#3E207D
RGBrgb(62, 32, 125)
HSLhsl(259, 59%, 31%)
HSVhsv(259, 74%, 49%)
CMYKcmyk(50.4%, 74.4%, 0%, 51%)
CIE-LABlab(22.08, 37.18, -47.57)
CIE-LCHlch(22.08, 60.37, 308.01°)
OKLaboklab(34.48% 0.0539 -0.1364)
OKLCHoklch(34.48% 0.147 291.5)
XYZxyz(6.2037, 3.5376, 19.7540)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E207D #5F7D20
analogous
#20307D #3E207D #6C207D
triadic
#3E207D #7D3E20 #207D3E
tetradic
#3E207D #7D2030 #5F7D20 #207D6C
square
#3E207D #7D2030 #5F7D20 #207D6C
split-complementary
#3E207D #7D6C20 #307D20
monochromatic
#0E071C #26144C #3E207D #562CAE #7347D0

Accessibility & contrast

On white

12.30
#3E207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3E207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E207D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E207D#FFFFFF#000000##FFFFFF
##3E207D1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#2A384C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e207d;
/* rgb */ color: rgb(62, 32, 125);
/* oklch */ color: oklch(34.5% 0.147 291.5);
Tailwind
colors: {
  custom: {
    50: '#7a5ea3',
    500: '#3e207d',
    950: '#000000',
  },
}
SCSS
$custom: #3e207d;
$custom-light: #7a5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e207d",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 259.355,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34475,
    "c": 0.1467,
    "h": 291.5
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#3E207D
secondary
#8FB049
accent
#E245B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E207D

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

Preview Lab → · Contrast checker → · Palette generator →

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