#3B2385#3B2385

#3B2385 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.153 H 286.9°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3B2385
RGBrgb(59, 35, 133)
HSLhsl(255, 58%, 33%)
HSVhsv(255, 74%, 52%)
CMYKcmyk(55.6%, 73.7%, 0%, 47.8%)
CIE-LABlab(23.08, 37.43, -50.99)
CIE-LCHlch(23.08, 63.25, 306.28°)
OKLaboklab(35.34% 0.0446 -0.1466)
OKLCHoklch(35.34% 0.153 286.9)
XYZxyz(6.6370, 3.8250, 22.5743)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2385 #6D8523
analogous
#233C85 #3B2385 #6C2385
triadic
#3B2385 #853B23 #23853B
tetradic
#3B2385 #85233C #6D8523 #23856C
square
#3B2385 #85233C #6D8523 #23856C
split-complementary
#3B2385 #856C23 #3C8523
monochromatic
#100924 #261655 #3B2385 #5030B5 #7151D1

Accessibility & contrast

On white

11.90
#3B2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2385
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2385#FFFFFF#000000##FFFFFF
##3B23851.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#1C3D51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3b2385;
/* rgb */ color: rgb(59, 35, 133);
/* oklch */ color: oklch(35.3% 0.153 286.9);
Tailwind
colors: {
  custom: {
    50: '#7960a9',
    500: '#3b2385',
    950: '#000000',
  },
}
SCSS
$custom: #3b2385;
$custom-light: #7960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2385",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 254.694,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35339,
    "c": 0.15324,
    "h": 286.9
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#3B2385
secondary
#9CB54F
accent
#E246BC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3B2385

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

Preview Lab → · Contrast checker → · Palette generator →

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