#3B208A#3B208A

#3B208A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.163 H 286.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#3B208A
RGBrgb(59, 32, 138)
HSLhsl(255, 62%, 33%)
HSVhsv(255, 77%, 54%)
CMYKcmyk(57.2%, 76.8%, 0%, 45.9%)
CIE-LABlab(22.99, 40.58, -54.27)
CIE-LCHlch(22.99, 67.77, 306.79°)
OKLaboklab(35.42% 0.0459 -0.1562)
OKLCHoklch(35.42% 0.163 286.4)
XYZxyz(6.9062, 3.7974, 24.4089)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B208A #6F8A20
analogous
#203A8A #3B208A #70208A
triadic
#3B208A #8A3B20 #208A3B
tetradic
#3B208A #8A203A #6F8A20 #208A70
square
#3B208A #8A203A #6F8A20 #208A70
split-complementary
#3B208A #8A7020 #3A8A20
monochromatic
#110927 #261458 #3B208A #502CBC #714ED6

Accessibility & contrast

On white

11.93
#3B208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3B208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B208A
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B208A#FFFFFF#000000##FFFFFF
##3B208A1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#173E53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3b208a;
/* rgb */ color: rgb(59, 32, 138);
/* oklch */ color: oklch(35.4% 0.163 286.4);
Tailwind
colors: {
  custom: {
    50: '#7b5fad',
    500: '#3b208a',
    950: '#000000',
  },
}
SCSS
$custom: #3b208a;
$custom-light: #7b5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#3b208a",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 255.283,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3542,
    "c": 0.16282,
    "h": 286.4
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#3B208A
secondary
#9DB94D
accent
#E542BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3B208A

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

Preview Lab → · Contrast checker → · Palette generator →

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