#3E206C#3E206C

#3E206C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.125 H 297.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#3E206C
RGBrgb(62, 32, 108)
HSLhsl(264, 54%, 27%)
HSVhsv(264, 70%, 42%)
CMYKcmyk(42.6%, 70.4%, 0%, 57.6%)
CIE-LABlab(20.60, 32.19, -39.08)
CIE-LCHlch(20.60, 50.62, 309.48°)
OKLaboklab(32.95% 0.0571 -0.1115)
OKLCHoklch(32.95% 0.125 297.1)
XYZxyz(5.2092, 3.1398, 14.5160)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E206C #4E6C20
analogous
#20286C #3E206C #64206C
triadic
#3E206C #6C3E20 #206C3E
tetradic
#3E206C #6C2028 #4E6C20 #206C64
square
#3E206C #6C2028 #4E6C20 #206C64
split-complementary
#3E206C #6C6420 #286C20
monochromatic
#0E0718 #23123D #3E206C #592E9B #7540C6

Accessibility & contrast

On white

12.90
#3E206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3E206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E206C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E206C#FFFFFF#000000##FFFFFF
##3E206C1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#333243
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e206c;
/* rgb */ color: rgb(62, 32, 108);
/* oklch */ color: oklch(33.0% 0.125 297.1);
Tailwind
colors: {
  custom: {
    50: '#785e97',
    500: '#3e206c',
    950: '#000000',
  },
}
SCSS
$custom: #3e206c;
$custom-light: #785e97;
$custom-dark: #000000;
JSON
{
  "hex": "#3e206c",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 263.684,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32954,
    "c": 0.12527,
    "h": 297.1
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#3E206C
secondary
#7DA048
accent
#DE4AA3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E206C

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

Preview Lab → · Contrast checker → · Palette generator →

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