#3E205B#3E205B

#3E205B is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.103 H 304.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#3E205B
RGBrgb(62, 32, 91)
HSLhsl(271, 48%, 24%)
HSVhsv(271, 65%, 36%)
CMYKcmyk(31.9%, 64.8%, 0%, 64.3%)
CIE-LABlab(19.28, 27.35, -30.03)
CIE-LCHlch(19.28, 40.62, 312.33°)
OKLaboklab(31.58% 0.0586 -0.0849)
OKLCHoklch(31.58% 0.103 304.6)
XYZxyz(4.3910, 2.8125, 10.2070)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E205B #3D5B20
analogous
#21205B #3E205B #5B205B
triadic
#3E205B #5B3E20 #205B3E
tetradic
#3E205B #5B2120 #3D5B20 #205B5B
square
#3E205B #5B2120 #3D5B20 #205B5B
split-complementary
#3E205B #5B5B20 #205B21
monochromatic
#0F0817 #1F102E #3E205B #5D3088 #7C40B6

Accessibility & contrast

On white

13.44
#3E205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3E205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E205B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E205B#FFFFFF#000000##FFFFFF
##3E205B1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5D
Deuteranopia (green-blind)
#122F5A
Tritanopia (blue-blind)
#392C3A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e205b;
/* rgb */ color: rgb(62, 32, 91);
/* oklch */ color: oklch(31.6% 0.103 304.6);
Tailwind
colors: {
  custom: {
    50: '#765d8a',
    500: '#3e205b',
    950: '#000000',
  },
}
SCSS
$custom: #3e205b;
$custom-light: #765d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e205b",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 270.508,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31582,
    "c": 0.10317,
    "h": 304.6
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#3E205B
secondary
#6B8F47
accent
#D85093
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E205B

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

Preview Lab → · Contrast checker → · Palette generator →

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