#462A4E#462A4E

#462A4E is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.6% C 0.071 H 318.5°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#462A4E
RGBrgb(70, 42, 78)
HSLhsl(287, 30%, 24%)
HSVhsv(287, 46%, 31%)
CMYKcmyk(10.3%, 46.2%, 0%, 69.4%)
CIE-LABlab(21.97, 20.21, -17.00)
CIE-LCHlch(21.97, 26.41, 319.94°)
OKLaboklab(33.56% 0.0529 -0.0468)
OKLCHoklch(33.56% 0.071 318.5)
XYZxyz(4.7287, 3.5082, 7.6343)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A4E #324E2A
analogous
#342A4E #462A4E #4E2A44
triadic
#462A4E #4E462A #2A4E46
tetradic
#462A4E #4E342A #324E2A #2A444E
square
#462A4E #4E342A #324E2A #2A444E
split-complementary
#462A4E #444E2A #2A4E34
monochromatic
#120B14 #221526 #462A4E #6A3F76 #8D559E

Accessibility & contrast

On white

12.34
#462A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462A4E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A4E#FFFFFF#000000##FFFFFF
##462A4E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#462F38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #462a4e;
/* rgb */ color: rgb(70, 42, 78);
/* oklch */ color: oklch(33.6% 0.071 318.5);
Tailwind
colors: {
  custom: {
    50: '#7a647f',
    500: '#462a4e',
    950: '#000000',
  },
}
SCSS
$custom: #462a4e;
$custom-light: #7a647f;
$custom-dark: #000000;
JSON
{
  "hex": "#462a4e",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 286.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33558,
    "c": 0.07067,
    "h": 318.5
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#462A4E
secondary
#5E8054
accent
#C66278
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#09050A
muted
#7B7A7C

Preview Lab

Preview with #462A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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