#3E216E#3E216E

#3E216E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.126 H 296.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#3E216E
RGBrgb(62, 33, 110)
HSLhsl(263, 54%, 28%)
HSVhsv(263, 70%, 43%)
CMYKcmyk(43.6%, 70%, 0%, 56.9%)
CIE-LABlab(20.97, 32.19, -39.76)
CIE-LCHlch(20.97, 51.16, 309.00°)
OKLaboklab(33.28% 0.0556 -0.1135)
OKLCHoklch(33.28% 0.126 296.1)
XYZxyz(5.3442, 3.2375, 15.0922)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E216E #516E21
analogous
#212B6E #3E216E #64216E
triadic
#3E216E #6E3E21 #216E3E
tetradic
#3E216E #6E212B #516E21 #216E64
square
#3E216E #6E212B #516E21 #216E64
split-complementary
#3E216E #6E6421 #2B6E21
monochromatic
#0D0718 #23133F #3E216E #592F9D #7443C7

Accessibility & contrast

On white

12.75
#3E216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3E216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E216E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E216E#FFFFFF#000000##FFFFFF
##3E216E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#323344
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e216e;
/* rgb */ color: rgb(62, 33, 110);
/* oklch */ color: oklch(33.3% 0.126 296.1);
Tailwind
colors: {
  custom: {
    50: '#785e98',
    500: '#3e216e',
    950: '#000000',
  },
}
SCSS
$custom: #3e216e;
$custom-light: #785e98;
$custom-dark: #000000;
JSON
{
  "hex": "#3e216e",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 262.597,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33276,
    "c": 0.12642,
    "h": 296.1
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#3E216E
secondary
#80A249
accent
#DD4BA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E216E

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

Preview Lab → · Contrast checker → · Palette generator →

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