#3B209F#3B209F

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

Color values

HEX#3B209F
RGBrgb(59, 32, 159)
HSLhsl(253, 66%, 37%)
HSVhsv(253, 80%, 62%)
CMYKcmyk(62.9%, 79.9%, 0%, 37.6%)
CIE-LABlab(25.15, 46.87, -63.66)
CIE-LCHlch(25.15, 79.06, 306.36°)
OKLaboklab(37.58% 0.0399 -0.1836)
OKLCHoklch(37.58% 0.188 282.2)
XYZxyz(8.5762, 4.4654, 33.2041)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B209F #849F20
analogous
#20449F #3B209F #7B209F
triadic
#3B209F #9F3B20 #209F3B
tetradic
#3B209F #9F2044 #849F20 #209F7B
square
#3B209F #9F2044 #849F20 #209F7B
split-complementary
#3B209F #9F7B20 #449F20
monochromatic
#150B39 #28166C #3B209F #4E2AD2 #775BDE

Accessibility & contrast

On white

11.09
#3B209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B209F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B209F#FFFFFF#000000##FFFFFF
##3B209F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b209f;
/* rgb */ color: rgb(59, 32, 159);
/* oklch */ color: oklch(37.6% 0.188 282.2);
Tailwind
colors: {
  custom: {
    50: '#7f60bd',
    500: '#3b209f',
    950: '#000000',
  },
}
SCSS
$custom: #3b209f;
$custom-light: #7f60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b209f",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 252.756,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37583,
    "c": 0.18792,
    "h": 282.2
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#3B209F
secondary
#ACC259
accent
#E93EC5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3B209F

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

Preview Lab → · Contrast checker → · Palette generator →

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