#3D209D#3D209D

#3D209D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.185 H 283.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3D209D
RGBrgb(61, 32, 157)
HSLhsl(254, 66%, 37%)
HSVhsv(254, 80%, 62%)
CMYKcmyk(61.1%, 79.6%, 0%, 38.4%)
CIE-LABlab(25.13, 46.51, -62.47)
CIE-LCHlch(25.13, 77.88, 306.67°)
OKLaboklab(37.55% 0.0435 -0.1801)
OKLCHoklch(37.55% 0.185 283.6)
XYZxyz(8.5249, 4.4589, 32.3032)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D209D #809D20
analogous
#20429D #3D209D #7C209D
triadic
#3D209D #9D3D20 #209D3D
tetradic
#3D209D #9D2042 #809D20 #209D7C
square
#3D209D #9D2042 #809D20 #209D7C
split-complementary
#3D209D #9D7C20 #429D20
monochromatic
#150B37 #29166A #3D209D #512AD0 #785ADD

Accessibility & contrast

On white

11.10
#3D209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3D209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D209D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D209D#FFFFFF#000000##FFFFFF
##3D209D1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d209d;
/* rgb */ color: rgb(61, 32, 157);
/* oklch */ color: oklch(37.6% 0.185 283.6);
Tailwind
colors: {
  custom: {
    50: '#7f60bb',
    500: '#3d209d',
    950: '#000000',
  },
}
SCSS
$custom: #3d209d;
$custom-light: #7f60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d209d",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 253.92,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.18529,
    "h": 283.6
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#3D209D
secondary
#A9C157
accent
#E93FC2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D209D

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

Preview Lab → · Contrast checker → · Palette generator →

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