#462F4E#462F4E

#462F4E is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.5% C 0.060 H 317.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#462F4E
RGBrgb(70, 47, 78)
HSLhsl(285, 25%, 25%)
HSVhsv(285, 40%, 31%)
CMYKcmyk(10.3%, 39.7%, 0%, 69.4%)
CIE-LABlab(23.29, 16.96, -14.96)
CIE-LCHlch(23.29, 22.61, 318.59°)
OKLaboklab(34.55% 0.0442 -0.041)
OKLCHoklch(34.55% 0.06 317.1)
XYZxyz(4.9172, 3.8853, 7.6972)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F4E #374E2F
analogous
#372F4E #462F4E #4E2F47
triadic
#462F4E #4E462F #2F4E46
tetradic
#462F4E #4E372F #374E2F #2F474E
square
#462F4E #4E372F #374E2F #2F474E
split-complementary
#462F4E #474E2F #2F4E37
monochromatic
#110C13 #241828 #462F4E #684674 #8B5D9A

Accessibility & contrast

On white

11.82
#462F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#462F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F4E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F4E#FFFFFF#000000##FFFFFF
##462F4E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#30384D
Tritanopia (blue-blind)
#46333B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462f4e;
/* rgb */ color: rgb(70, 47, 78);
/* oklch */ color: oklch(34.5% 0.060 317.1);
Tailwind
colors: {
  custom: {
    50: '#7a687f',
    500: '#462f4e',
    950: '#000000',
  },
}
SCSS
$custom: #462f4e;
$custom-light: #7a687f;
$custom-dark: #000000;
JSON
{
  "hex": "#462f4e",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 284.516,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34548,
    "c": 0.06029,
    "h": 317.1
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#462F4E
secondary
#637F5A
accent
#C1677E
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#09060A
muted
#7B7A7C

Preview Lab

Preview with #462F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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