#3B208B#3B208B

#3B208B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.164 H 286.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3B208B
RGBrgb(59, 32, 139)
HSLhsl(255, 63%, 34%)
HSVhsv(255, 77%, 55%)
CMYKcmyk(57.6%, 77%, 0%, 45.5%)
CIE-LABlab(23.09, 40.88, -54.73)
CIE-LCHlch(23.09, 68.32, 306.76°)
OKLaboklab(35.52% 0.0457 -0.1576)
OKLCHoklch(35.52% 0.164 286.2)
XYZxyz(6.9789, 3.8265, 24.7919)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B208B #708B20
analogous
#203A8B #3B208B #70208B
triadic
#3B208B #8B3B20 #208B3B
tetradic
#3B208B #8B203A #708B20 #208B70
square
#3B208B #8B203A #708B20 #208B70
split-complementary
#3B208B #8B7020 #3A8B20
monochromatic
#110928 #261559 #3B208B #502BBD #714FD6

Accessibility & contrast

On white

11.90
#3B208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3B208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B208B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B208B#FFFFFF#000000##FFFFFF
##3B208B1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#153E54
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3b208b;
/* rgb */ color: rgb(59, 32, 139);
/* oklch */ color: oklch(35.5% 0.164 286.2);
Tailwind
colors: {
  custom: {
    50: '#7b5fae',
    500: '#3b208b',
    950: '#000000',
  },
}
SCSS
$custom: #3b208b;
$custom-light: #7b5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#3b208b",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 255.14,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3552,
    "c": 0.16404,
    "h": 286.2
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#3B208B
secondary
#9EBA4D
accent
#E642BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3B208B

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

Preview Lab → · Contrast checker → · Palette generator →

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