#3B2175#3B2175

#3B2175 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.135 H 291.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#3B2175
RGBrgb(59, 33, 117)
HSLhsl(259, 56%, 29%)
HSVhsv(259, 72%, 46%)
CMYKcmyk(49.6%, 71.8%, 0%, 54.1%)
CIE-LABlab(21.21, 33.66, -43.89)
CIE-LCHlch(21.21, 55.31, 307.49°)
OKLaboklab(33.56% 0.0498 -0.1258)
OKLCHoklch(33.56% 0.135 291.6)
XYZxyz(5.5575, 3.3017, 17.1706)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2175 #5B7521
analogous
#213175 #3B2175 #652175
triadic
#3B2175 #753B21 #21753B
tetradic
#3B2175 #752131 #5B7521 #217565
square
#3B2175 #752131 #5B7521 #217565
split-complementary
#3B2175 #756521 #317521
monochromatic
#0C0718 #231445 #3B2175 #532EA5 #6F46CB

Accessibility & contrast

On white

12.65
#3B2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3B2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2175
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2175#FFFFFF#000000##FFFFFF
##3B21751.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#293648
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3b2175;
/* rgb */ color: rgb(59, 33, 117);
/* oklch */ color: oklch(33.6% 0.135 291.6);
Tailwind
colors: {
  custom: {
    50: '#775e9d',
    500: '#3b2175',
    950: '#000000',
  },
}
SCSS
$custom: #3b2175;
$custom-light: #775e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2175",
  "rgb": {
    "r": 59,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 258.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33555,
    "c": 0.13529,
    "h": 291.6
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#3B2175
secondary
#8BA84A
accent
#DF49B1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B2175

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

Preview Lab → · Contrast checker → · Palette generator →

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