#3D209F#3D209F

#3D209F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.188 H 283.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#3D209F
RGBrgb(61, 32, 159)
HSLhsl(254, 66%, 37%)
HSVhsv(254, 80%, 62%)
CMYKcmyk(61.6%, 79.9%, 0%, 37.6%)
CIE-LABlab(25.34, 47.10, -63.34)
CIE-LCHlch(25.34, 78.94, 306.63°)
OKLaboklab(37.76% 0.0429 -0.1826)
OKLCHoklch(37.76% 0.188 283.2)
XYZxyz(8.6970, 4.5277, 33.2098)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D209F #829F20
analogous
#20429F #3D209F #7D209F
triadic
#3D209F #9F3D20 #209F3D
tetradic
#3D209F #9F2042 #829F20 #209F7D
square
#3D209F #9F2042 #829F20 #209F7D
split-complementary
#3D209F #9F7D20 #429F20
monochromatic
#160B39 #29166C #3D209F #512AD2 #795BDE

Accessibility & contrast

On white

11.02
#3D209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3D209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D209F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D209F#FFFFFF#000000##FFFFFF
##3D209F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d209f;
/* rgb */ color: rgb(61, 32, 159);
/* oklch */ color: oklch(37.8% 0.188 283.2);
Tailwind
colors: {
  custom: {
    50: '#7f60bd',
    500: '#3d209f',
    950: '#000000',
  },
}
SCSS
$custom: #3d209f;
$custom-light: #7f60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d209f",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 253.701,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37762,
    "c": 0.18763,
    "h": 283.2
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#3D209F
secondary
#AAC259
accent
#E93EC2
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D209F

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

Preview Lab → · Contrast checker → · Palette generator →

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