#3D215E#3D215E

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

Color values

HEX#3D215E
RGBrgb(61, 33, 94)
HSLhsl(268, 48%, 25%)
HSVhsv(268, 65%, 37%)
CMYKcmyk(35.1%, 64.9%, 0%, 63.1%)
CIE-LABlab(19.59, 27.32, -31.53)
CIE-LCHlch(19.59, 41.72, 310.91°)
OKLaboklab(31.85% 0.0556 -0.0894)
OKLCHoklch(31.85% 0.105 301.9)
XYZxyz(4.4882, 2.8880, 10.9085)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D215E #425E21
analogous
#21245E #3D215E #5B215E
triadic
#3D215E #5E3D21 #215E3D
tetradic
#3D215E #5E2124 #425E21 #215E5B
square
#3D215E #5E2124 #425E21 #215E5B
split-complementary
#3D215E #5E5B21 #245E21
monochromatic
#0F0817 #201131 #3D215E #5A318B #7841B9

Accessibility & contrast

On white

13.31
#3D215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D215E
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D215E#FFFFFF#000000##FFFFFF
##3D215E1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012F60
Deuteranopia (green-blind)
#0F2F5D
Tritanopia (blue-blind)
#362E3C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d215e;
/* rgb */ color: rgb(61, 33, 94);
/* oklch */ color: oklch(31.9% 0.105 301.9);
Tailwind
colors: {
  custom: {
    50: '#755e8c',
    500: '#3d215e',
    950: '#000000',
  },
}
SCSS
$custom: #3d215e;
$custom-light: #755e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d215e",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 267.541,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3185,
    "c": 0.10523,
    "h": 301.9
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#3D215E
secondary
#709249
accent
#D85099
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D215E

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

Preview Lab → · Contrast checker → · Palette generator →

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