#3B2B97#3B2B97

#3B2B97 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.167 H 281.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3B2B97
RGBrgb(59, 43, 151)
HSLhsl(249, 56%, 38%)
HSVhsv(249, 72%, 59%)
CMYKcmyk(60.9%, 71.5%, 0%, 40.8%)
CIE-LABlab(26.42, 38.54, -56.68)
CIE-LCHlch(26.42, 68.54, 304.21°)
OKLaboklab(38.24% 0.0341 -0.1633)
OKLCHoklch(38.24% 0.167 281.8)
XYZxyz(8.2517, 4.8914, 29.7815)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2B97 #87972B
analogous
#2B5197 #3B2B97 #712B97
triadic
#3B2B97 #973B2B #2B973B
tetradic
#3B2B97 #972B51 #87972B #2B9771
square
#3B2B97 #972B51 #87972B #2B9771
split-complementary
#3B2B97 #97712B #51972B
monochromatic
#161038 #281D67 #3B2B97 #4E39C7 #7868D4

Accessibility & contrast

On white

10.61
#3B2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3B2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2B97
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2B97#FFFFFF#000000##FFFFFF
##3B2B971.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b2b97;
/* rgb */ color: rgb(59, 43, 151);
/* oklch */ color: oklch(38.2% 0.167 281.8);
Tailwind
colors: {
  custom: {
    50: '#7c66b7',
    500: '#3b2b97',
    950: '#000000',
  },
}
SCSS
$custom: #3b2b97;
$custom-light: #7c66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2b97",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 248.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.16686,
    "h": 281.8
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#3B2B97
secondary
#AEBB63
accent
#DF49C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3B2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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