#3E215E#3E215E

#3E215E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.105 H 302.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#3E215E
RGBrgb(62, 33, 94)
HSLhsl(269, 48%, 25%)
HSVhsv(269, 65%, 37%)
CMYKcmyk(34%, 64.9%, 0%, 63.1%)
CIE-LABlab(19.72, 27.59, -31.31)
CIE-LCHlch(19.72, 41.73, 311.38°)
OKLaboklab(31.98% 0.0571 -0.0887)
OKLCHoklch(31.98% 0.105 302.8)
XYZxyz(4.5504, 2.9200, 10.9114)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E215E #415E21
analogous
#21225E #3E215E #5D215E
triadic
#3E215E #5E3E21 #215E3E
tetradic
#3E215E #5E2122 #415E21 #215E5D
square
#3E215E #5E2122 #415E21 #215E5D
split-complementary
#3E215E #5E5D21 #225E21
monochromatic
#0F0817 #201131 #3E215E #5C318B #7A41B9

Accessibility & contrast

On white

13.26
#3E215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3E215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E215E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E215E#FFFFFF#000000##FFFFFF
##3E215E1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012F60
Deuteranopia (green-blind)
#10305D
Tritanopia (blue-blind)
#382E3C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e215e;
/* rgb */ color: rgb(62, 33, 94);
/* oklch */ color: oklch(32.0% 0.105 302.8);
Tailwind
colors: {
  custom: {
    50: '#765e8c',
    500: '#3e215e',
    950: '#000000',
  },
}
SCSS
$custom: #3e215e;
$custom-light: #765e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e215e",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 268.525,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.10546,
    "h": 302.8
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#3E215E
secondary
#6F9249
accent
#D85097
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E215E

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

Preview Lab → · Contrast checker → · Palette generator →

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