#3A2B50#3A2B50

#3A2B50 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.4% C 0.066 H 301.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#3A2B50
RGBrgb(58, 43, 80)
HSLhsl(264, 30%, 24%)
HSVhsv(264, 46%, 31%)
CMYKcmyk(27.5%, 46.2%, 0%, 68.6%)
CIE-LABlab(20.85, 15.88, -20.20)
CIE-LCHlch(20.85, 25.70, 308.17°)
OKLaboklab(32.41% 0.0346 -0.0564)
OKLCHoklch(32.41% 0.066 301.5)
XYZxyz(4.0564, 3.2065, 7.9931)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B50 #41502B
analogous
#2B2F50 #3A2B50 #4D2B50
triadic
#3A2B50 #503A2B #2B503A
tetradic
#3A2B50 #502B2F #41502B #2B504D
square
#3A2B50 #502B2F #41502B #2B504D
split-complementary
#3A2B50 #504D2B #2F502B
monochromatic
#0E0B14 #1D1628 #3A2B50 #574078 #7456A0

Accessibility & contrast

On white

12.80
#3A2B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3A2B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2B50
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B50#FFFFFF#000000##FFFFFF
##3A2B501.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213251
Deuteranopia (green-blind)
#24324F
Tritanopia (blue-blind)
#363139
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a2b50;
/* rgb */ color: rgb(58, 43, 80);
/* oklch */ color: oklch(32.4% 0.066 301.5);
Tailwind
colors: {
  custom: {
    50: '#716481',
    500: '#3a2b50',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b50;
$custom-light: #716481;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b50",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 80
  },
  "hsl": {
    "h": 264.324,
    "s": 30.081,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32409,
    "c": 0.06614,
    "h": 301.5
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#3A2B50
secondary
#708255
accent
#C6619D
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #3A2B50

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

Preview Lab → · Contrast checker → · Palette generator →

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