#460C46#460C46

#460C46 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.114 H 328.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#460C46
RGBrgb(70, 12, 70)
HSLhsl(300, 71%, 16%)
HSVhsv(300, 83%, 27%)
CMYKcmyk(0%, 82.9%, 0%, 72.5%)
CIE-LABlab(15.53, 34.52, -21.68)
CIE-LCHlch(15.53, 40.76, 327.87°)
OKLaboklab(28.68% 0.0963 -0.0601)
OKLCHoklch(28.68% 0.114 328)
XYZxyz(3.7627, 2.0075, 5.9825)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C46 #0C460C
analogous
#290C46 #460C46 #460C29
triadic
#460C46 #46460C #0C4646
tetradic
#460C46 #46290C #0C460C #0C2946
square
#460C46 #46290C #0C460C #0C2946
split-complementary
#460C46 #29460C #0C4629
monochromatic
#1A041A #1A041A #460C46 #7A157A #AE1EAE

Accessibility & contrast

On white

14.99
#460C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#460C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460C46
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C46#FFFFFF#000000##FFFFFF
##460C461.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022248
Deuteranopia (green-blind)
#1C2945
Tritanopia (blue-blind)
#481528
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #460c46;
/* rgb */ color: rgb(70, 12, 70);
/* oklch */ color: oklch(28.7% 0.114 328.0);
Tailwind
colors: {
  custom: {
    50: '#7c527a',
    500: '#460c46',
    950: '#000000',
  },
}
SCSS
$custom: #460c46;
$custom-light: #7c527a;
$custom-dark: #000000;
JSON
{
  "hex": "#460c46",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 300,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28678,
    "c": 0.11352,
    "h": 328
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#460C46
secondary
#2C822C
accent
#ED3A3A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #460C46

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

Preview Lab → · Contrast checker → · Palette generator →

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