#3B209B#3B209B

#3B209B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.183 H 283.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3B209B
RGBrgb(59, 32, 155)
HSLhsl(253, 66%, 37%)
HSVhsv(253, 79%, 61%)
CMYKcmyk(61.9%, 79.4%, 0%, 39.2%)
CIE-LABlab(24.73, 45.68, -61.92)
CIE-LCHlch(24.73, 76.95, 306.42°)
OKLaboklab(37.16% 0.0411 -0.1785)
OKLCHoklch(37.16% 0.183 283)
XYZxyz(8.2347, 4.3288, 31.4056)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B209B #809B20
analogous
#20439B #3B209B #79209B
triadic
#3B209B #9B3B20 #209B3B
tetradic
#3B209B #9B2043 #809B20 #209B79
square
#3B209B #9B2043 #809B20 #209B79
split-complementary
#3B209B #9B7920 #439B20
monochromatic
#140B36 #281668 #3B209B #4E2ACE #7659DD

Accessibility & contrast

On white

11.26
#3B209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3B209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B209B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B209B#FFFFFF#000000##FFFFFF
##3B209B1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b209b;
/* rgb */ color: rgb(59, 32, 155);
/* oklch */ color: oklch(37.2% 0.183 283.0);
Tailwind
colors: {
  custom: {
    50: '#7e60ba',
    500: '#3b209b',
    950: '#000000',
  },
}
SCSS
$custom: #3b209b;
$custom-light: #7e60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3b209b",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 253.171,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.18321,
    "h": 283
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#3B209B
secondary
#A9C156
accent
#E93FC3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B209B

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

Preview Lab → · Contrast checker → · Palette generator →

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