#3E206F#3E206F

#3E206F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.129 H 296.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#3E206F
RGBrgb(62, 32, 111)
HSLhsl(263, 55%, 28%)
HSVhsv(263, 71%, 44%)
CMYKcmyk(44.1%, 71.2%, 0%, 56.5%)
CIE-LABlab(20.85, 33.06, -40.61)
CIE-LCHlch(20.85, 52.37, 309.15°)
OKLaboklab(33.21% 0.0566 -0.116)
OKLCHoklch(33.21% 0.129 296)
XYZxyz(5.3716, 3.2047, 15.3714)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E206F #516F20
analogous
#20296F #3E206F #65206F
triadic
#3E206F #6F3E20 #206F3E
tetradic
#3E206F #6F2029 #516F20 #206F65
square
#3E206F #6F2029 #516F20 #206F65
split-complementary
#3E206F #6F6520 #296F20
monochromatic
#0D0718 #23123F #3E206F #592E9F #7441C8

Accessibility & contrast

On white

12.80
#3E206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3E206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E206F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E206F#FFFFFF#000000##FFFFFF
##3E206F1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#313344
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e206f;
/* rgb */ color: rgb(62, 32, 111);
/* oklch */ color: oklch(33.2% 0.129 296.0);
Tailwind
colors: {
  custom: {
    50: '#785e99',
    500: '#3e206f',
    950: '#000000',
  },
}
SCSS
$custom: #3e206f;
$custom-light: #785e99;
$custom-dark: #000000;
JSON
{
  "hex": "#3e206f",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 262.785,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33212,
    "c": 0.1291,
    "h": 296
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#3E206F
secondary
#80A348
accent
#DF49A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E206F

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

Preview Lab → · Contrast checker → · Palette generator →

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