#3E216C#3E216C

#3E216C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.124 H 296.8°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#3E216C
RGBrgb(62, 33, 108)
HSLhsl(263, 53%, 28%)
HSVhsv(263, 69%, 42%)
CMYKcmyk(42.6%, 69.4%, 0%, 57.6%)
CIE-LABlab(20.81, 31.61, -38.73)
CIE-LCHlch(20.81, 49.99, 309.22°)
OKLaboklab(33.11% 0.0559 -0.1105)
OKLCHoklch(33.11% 0.124 296.8)
XYZxyz(5.2365, 3.1945, 14.5251)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E216C #4F6C21
analogous
#212A6C #3E216C #63216C
triadic
#3E216C #6C3E21 #216C3E
tetradic
#3E216C #6C212A #4F6C21 #216C63
square
#3E216C #6C212A #4F6C21 #216C63
split-complementary
#3E216C #6C6321 #2A6C21
monochromatic
#0D0717 #23133D #3E216C #592F9B #7542C5

Accessibility & contrast

On white

12.81
#3E216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E216C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E216C#FFFFFF#000000##FFFFFF
##3E216C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e216c;
/* rgb */ color: rgb(62, 33, 108);
/* oklch */ color: oklch(33.1% 0.124 296.8);
Tailwind
colors: {
  custom: {
    50: '#785e97',
    500: '#3e216c',
    950: '#000000',
  },
}
SCSS
$custom: #3e216c;
$custom-light: #785e97;
$custom-dark: #000000;
JSON
{
  "hex": "#3e216c",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 263.2,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33106,
    "c": 0.12383,
    "h": 296.8
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#3E216C
secondary
#7EA049
accent
#DD4BA4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E216C

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

Preview Lab → · Contrast checker → · Palette generator →

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