#460642#460642

#460642 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.117 H 331.1°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#460642
RGBrgb(70, 6, 66)
HSLhsl(304, 84%, 15%)
HSVhsv(304, 91%, 27%)
CMYKcmyk(0%, 91.4%, 5.7%, 72.5%)
CIE-LABlab(14.55, 35.85, -20.44)
CIE-LCHlch(14.55, 41.27, 330.31°)
OKLaboklab(27.89% 0.1023 -0.0564)
OKLCHoklch(27.89% 0.117 331.1)
XYZxyz(3.5743, 1.8260, 5.3174)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460642 #06460A
analogous
#2A0646 #460642 #460622
triadic
#460642 #424606 #064246
tetradic
#460642 #462A06 #06460A #062246
square
#460642 #462A06 #06460A #062246
split-complementary
#460642 #224606 #06462A
monochromatic
#1C021B #1C021B #460642 #7E0B77 #B710AC

Accessibility & contrast

On white

15.38
#460642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#460642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460642
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460642#FFFFFF#000000##FFFFFF
##4606421.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F44
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#490F25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #460642;
/* rgb */ color: rgb(70, 6, 66);
/* oklch */ color: oklch(27.9% 0.117 331.1);
Tailwind
colors: {
  custom: {
    50: '#7c5076',
    500: '#460642',
    950: '#000000',
  },
}
SCSS
$custom: #460642;
$custom-light: #7c5076;
$custom-dark: #000000;
JSON
{
  "hex": "#460642",
  "rgb": {
    "r": 70,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 303.75,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27895,
    "c": 0.11685,
    "h": 331.1
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#460642
secondary
#228529
accent
#FA3A2D
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460642

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

Preview Lab → · Contrast checker → · Palette generator →

#460642 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva