#460C42#460C42

#460C42 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.110 H 331.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#460C42
RGBrgb(70, 12, 66)
HSLhsl(304, 71%, 16%)
HSVhsv(304, 83%, 27%)
CMYKcmyk(0%, 82.9%, 5.7%, 72.5%)
CIE-LABlab(15.27, 33.76, -19.29)
CIE-LCHlch(15.27, 38.89, 330.26°)
OKLaboklab(28.41% 0.0963 -0.0532)
OKLCHoklch(28.41% 0.11 331.1)
XYZxyz(3.6406, 1.9587, 5.3395)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C42 #0C4610
analogous
#2D0C46 #460C42 #460C25
triadic
#460C42 #42460C #0C4246
tetradic
#460C42 #462D0C #0C4610 #0C2546
square
#460C42 #462D0C #0C4610 #0C2546
split-complementary
#460C42 #25460C #0C462D
monochromatic
#1A0419 #1A0419 #460C42 #7A1573 #AE1EA5

Accessibility & contrast

On white

15.09
#460C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#460C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460C42
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C42#FFFFFF#000000##FFFFFF
##460C421.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072143
Deuteranopia (green-blind)
#1E2941
Tritanopia (blue-blind)
#491326
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #460c42;
/* rgb */ color: rgb(70, 12, 66);
/* oklch */ color: oklch(28.4% 0.110 331.1);
Tailwind
colors: {
  custom: {
    50: '#7c5276',
    500: '#460c42',
    950: '#000000',
  },
}
SCSS
$custom: #460c42;
$custom-light: #7c5276;
$custom-dark: #000000;
JSON
{
  "hex": "#460c42",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 304.138,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28411,
    "c": 0.10999,
    "h": 331.1
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#460C42
secondary
#2C8232
accent
#ED473A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460C42

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

Preview Lab → · Contrast checker → · Palette generator →

#460C42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva