#3B209E#3B209E

#3B209E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.187 H 282.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#3B209E
RGBrgb(59, 32, 158)
HSLhsl(253, 66%, 37%)
HSVhsv(253, 80%, 62%)
CMYKcmyk(62.7%, 79.7%, 0%, 38%)
CIE-LABlab(25.05, 46.58, -63.23)
CIE-LCHlch(25.05, 78.53, 306.38°)
OKLaboklab(37.48% 0.0402 -0.1824)
OKLCHoklch(37.48% 0.187 282.4)
XYZxyz(8.4898, 4.4308, 32.7490)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B209E #839E20
analogous
#20449E #3B209E #7A209E
triadic
#3B209E #9E3B20 #209E3B
tetradic
#3B209E #9E2044 #839E20 #209E7A
square
#3B209E #9E2044 #839E20 #209E7A
split-complementary
#3B209E #9E7A20 #449E20
monochromatic
#150B38 #28166B #3B209E #4E2AD1 #775BDE

Accessibility & contrast

On white

11.13
#3B209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B209E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B209E#FFFFFF#000000##FFFFFF
##3B209E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b209e;
/* rgb */ color: rgb(59, 32, 158);
/* oklch */ color: oklch(37.5% 0.187 282.4);
Tailwind
colors: {
  custom: {
    50: '#7e60bc',
    500: '#3b209e',
    950: '#000000',
  },
}
SCSS
$custom: #3b209e;
$custom-light: #7e60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b209e",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 252.857,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37477,
    "c": 0.18675,
    "h": 282.4
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#3B209E
secondary
#ABC258
accent
#E93FC5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B209E

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

Preview Lab → · Contrast checker → · Palette generator →

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