#3A2D4E#3A2D4E

#3A2D4E is a dark, muted violet. Relative luminance 0.033; OKLCH L 32.7% C 0.059 H 301.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#3A2D4E
RGBrgb(58, 45, 78)
HSLhsl(264, 27%, 24%)
HSVhsv(264, 42%, 31%)
CMYKcmyk(25.6%, 42.3%, 0%, 69.4%)
CIE-LABlab(21.31, 13.95, -18.15)
CIE-LCHlch(21.31, 22.89, 307.55°)
OKLaboklab(32.72% 0.0307 -0.0504)
OKLCHoklch(32.72% 0.059 301.4)
XYZxyz(4.0582, 3.3264, 7.6345)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2D4E #414E2D
analogous
#2D314E #3A2D4E #4B2D4E
triadic
#3A2D4E #4E3A2D #2D4E3A
tetradic
#3A2D4E #4E2D31 #414E2D #2D4E4B
square
#3A2D4E #4E2D31 #414E2D #2D4E4B
split-complementary
#3A2D4E #4E4B2D #314E2D
monochromatic
#0E0B13 #1D1727 #3A2D4E #574375 #745A9C

Accessibility & contrast

On white

12.61
#3A2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3A2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2D4E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2D4E#FFFFFF#000000##FFFFFF
##3A2D4E1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#363239
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a2d4e;
/* rgb */ color: rgb(58, 45, 78);
/* oklch */ color: oklch(32.7% 0.059 301.4);
Tailwind
colors: {
  custom: {
    50: '#71667f',
    500: '#3a2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #3a2d4e;
$custom-light: #71667f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2d4e",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 263.636,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32716,
    "c": 0.05908,
    "h": 301.4
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#3A2D4E
secondary
#708057
accent
#C3659E
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #3A2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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