#3B2BB2#3B2BB2

#3B2BB2 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.200 H 278.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3B2BB2
RGBrgb(59, 43, 178)
HSLhsl(247, 61%, 43%)
HSVhsv(247, 76%, 70%)
CMYKcmyk(66.9%, 75.8%, 0%, 30.2%)
CIE-LABlab(29.08, 47.10, -68.64)
CIE-LCHlch(29.08, 83.25, 304.46°)
OKLaboklab(40.93% 0.0284 -0.1982)
OKLCHoklch(40.93% 0.2 278.1)
XYZxyz(10.7008, 5.8710, 42.6801)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2BB2 #A2B22B
analogous
#2B5EB2 #3B2BB2 #7E2BB2
triadic
#3B2BB2 #B23B2B #2BB23B
tetradic
#3B2BB2 #B22B5E #A2B22B #2BB27E
square
#3B2BB2 #B22B5E #A2B22B #2BB27E
split-complementary
#3B2BB2 #B27E2B #5EB22B
monochromatic
#1A134F #2B1F81 #3B2BB2 #5848D3 #8579DF

Accessibility & contrast

On white

9.66
#3B2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3B2BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2BB2
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2BB2#FFFFFF#000000##FFFFFF
##3B2BB21.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3b2bb2;
/* rgb */ color: rgb(59, 43, 178);
/* oklch */ color: oklch(40.9% 0.200 278.1);
Tailwind
colors: {
  custom: {
    50: '#8167ca',
    500: '#3b2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3b2bb2;
$custom-light: #8167ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2bb2",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 247.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40927,
    "c": 0.20027,
    "h": 278.1
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#3B2BB2
secondary
#BDC772
accent
#E444D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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