#3B2B72#3B2B72

#3B2B72 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 34.9% C 0.117 H 289.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#3B2B72
RGBrgb(59, 43, 114)
HSLhsl(254, 45%, 31%)
HSVhsv(254, 62%, 45%)
CMYKcmyk(48.2%, 62.3%, 0%, 55.3%)
CIE-LABlab(23.24, 26.60, -38.67)
CIE-LCHlch(23.24, 46.93, 304.52°)
OKLaboklab(34.95% 0.0386 -0.1104)
OKLCHoklch(34.95% 0.117 289.3)
XYZxyz(5.7039, 3.8722, 16.3632)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2B72 #62722B
analogous
#2B3E72 #3B2B72 #5E2B72
triadic
#3B2B72 #723B2B #2B723B
tetradic
#3B2B72 #722B3E #62722B #2B725E
square
#3B2B72 #722B3E #62722B #2B725E
split-complementary
#3B2B72 #725E2B #3E722B
monochromatic
#0D0919 #241A46 #3B2B72 #523C9E #6F58C0

Accessibility & contrast

On white

11.83
#3B2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2B72
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2B72#FFFFFF#000000##FFFFFF
##3B2B721.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#2A3B4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3b2b72;
/* rgb */ color: rgb(59, 43, 114);
/* oklch */ color: oklch(34.9% 0.117 289.3);
Tailwind
colors: {
  custom: {
    50: '#76659b',
    500: '#3b2b72',
    950: '#000000',
  },
}
SCSS
$custom: #3b2b72;
$custom-light: #76659b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2b72",
  "rgb": {
    "r": 59,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 253.521,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.117,
    "h": 289.3
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#3B2B72
secondary
#92A455
accent
#D553B8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3B2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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