#3B2A8A#3B2A8A

#3B2A8A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.151 H 284.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3B2A8A
RGBrgb(59, 42, 138)
HSLhsl(251, 53%, 35%)
HSVhsv(251, 70%, 54%)
CMYKcmyk(57.2%, 69.6%, 0%, 45.9%)
CIE-LABlab(25.01, 34.94, -50.95)
CIE-LCHlch(25.01, 61.78, 304.44°)
OKLaboklab(36.86% 0.0373 -0.1465)
OKLCHoklch(36.86% 0.151 284.3)
XYZxyz(7.2176, 4.4203, 24.5127)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2A8A #798A2A
analogous
#2A498A #3B2A8A #6B2A8A
triadic
#3B2A8A #8A3B2A #2A8A3B
tetradic
#3B2A8A #8A2A49 #798A2A #2A8A6B
square
#3B2A8A #8A2A49 #798A2A #2A8A6B
split-complementary
#3B2A8A #8A6B2A #498A2A
monochromatic
#130D2C #271C5B #3B2A8A #4F38B9 #7360CF

Accessibility & contrast

On white

11.15
#3B2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3B2A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2A8A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2A8A#FFFFFF#000000##FFFFFF
##3B2A8A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#154356
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3b2a8a;
/* rgb */ color: rgb(59, 42, 138);
/* oklch */ color: oklch(36.9% 0.151 284.3);
Tailwind
colors: {
  custom: {
    50: '#7a65ad',
    500: '#3b2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #3b2a8a;
$custom-light: #7a65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2a8a",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 250.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3686,
    "c": 0.1512,
    "h": 284.3
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#3B2A8A
secondary
#A5B45B
accent
#DD4BC3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3B2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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