#3B209D#3B209D

#3B209D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.186 H 282.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#3B209D
RGBrgb(59, 32, 157)
HSLhsl(253, 66%, 37%)
HSVhsv(253, 80%, 62%)
CMYKcmyk(62.4%, 79.6%, 0%, 38.4%)
CIE-LABlab(24.94, 46.28, -62.79)
CIE-LCHlch(24.94, 78.01, 306.39°)
OKLaboklab(37.37% 0.0405 -0.1811)
OKLCHoklch(37.37% 0.186 282.6)
XYZxyz(8.4041, 4.3966, 32.2975)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B209D #829D20
analogous
#20449D #3B209D #7A209D
triadic
#3B209D #9D3B20 #209D3B
tetradic
#3B209D #9D2044 #829D20 #209D7A
square
#3B209D #9D2044 #829D20 #209D7A
split-complementary
#3B209D #9D7A20 #449D20
monochromatic
#150B37 #28166A #3B209D #4E2AD0 #765ADD

Accessibility & contrast

On white

11.17
#3B209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3B209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B209D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B209D#FFFFFF#000000##FFFFFF
##3B209D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b209d;
/* rgb */ color: rgb(59, 32, 157);
/* oklch */ color: oklch(37.4% 0.186 282.6);
Tailwind
colors: {
  custom: {
    50: '#7e60bb',
    500: '#3b209d',
    950: '#000000',
  },
}
SCSS
$custom: #3b209d;
$custom-light: #7e60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b209d",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 252.96,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37371,
    "c": 0.18557,
    "h": 282.6
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#3B209D
secondary
#ABC157
accent
#E93FC4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B209D

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

Preview Lab → · Contrast checker → · Palette generator →

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