#462A4C#462A4C

#462A4C is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.4% C 0.068 H 320.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#462A4C
RGBrgb(70, 42, 76)
HSLhsl(289, 29%, 23%)
HSVhsv(289, 45%, 30%)
CMYKcmyk(7.9%, 44.7%, 0%, 70.2%)
CIE-LABlab(21.87, 19.73, -15.81)
CIE-LCHlch(21.87, 25.29, 321.30°)
OKLaboklab(33.45% 0.0525 -0.0434)
OKLCHoklch(33.45% 0.068 320.4)
XYZxyz(4.6581, 3.4800, 7.2624)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A4C #304C2A
analogous
#352A4C #462A4C #4C2A41
triadic
#462A4C #4C462A #2A4C46
tetradic
#462A4C #4C352A #304C2A #2A414C
square
#462A4C #4C352A #304C2A #2A414C
split-complementary
#462A4C #414C2A #2A4C35
monochromatic
#120B14 #221425 #462A4C #6A4073 #8F569B

Accessibility & contrast

On white

12.38
#462A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#462A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A4C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A4C#FFFFFF#000000##FFFFFF
##462A4C1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324D
Deuteranopia (green-blind)
#2D354B
Tritanopia (blue-blind)
#472E37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #462a4c;
/* rgb */ color: rgb(70, 42, 76);
/* oklch */ color: oklch(33.4% 0.068 320.4);
Tailwind
colors: {
  custom: {
    50: '#7a647e',
    500: '#462a4c',
    950: '#000000',
  },
}
SCSS
$custom: #462a4c;
$custom-light: #7a647e;
$custom-dark: #000000;
JSON
{
  "hex": "#462a4c",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 289.412,
    "s": 28.814,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33448,
    "c": 0.0681,
    "h": 320.4
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#462A4C
secondary
#5B7E54
accent
#C56374
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#09050A
muted
#7B7A7C

Preview Lab

Preview with #462A4C

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

Preview Lab → · Contrast checker → · Palette generator →

#462A4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva