#460C4D#460C4D

#460C4D is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.120 H 323.1°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#460C4D
RGBrgb(70, 12, 77)
HSLhsl(294, 73%, 17%)
HSVhsv(294, 84%, 30%)
CMYKcmyk(9.1%, 84.4%, 0%, 69.8%)
CIE-LABlab(16.01, 35.90, -25.74)
CIE-LCHlch(16.01, 44.18, 324.36°)
OKLaboklab(29.18% 0.0959 -0.0719)
OKLCHoklch(29.18% 0.12 323.1)
XYZxyz(3.9967, 2.1011, 7.2148)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C4D #134D0C
analogous
#250C4D #460C4D #4D0C34
triadic
#460C4D #4D460C #0C4D46
tetradic
#460C4D #4D250C #134D0C #0C344D
square
#460C4D #4D250C #134D0C #0C344D
split-complementary
#460C4D #344D0C #0C4D25
monochromatic
#18041A #18041A #460C4D #761482 #A61DB7

Accessibility & contrast

On white

14.79
#460C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#460C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460C4D
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C4D#FFFFFF#000000##FFFFFF
##460C4D1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#47192C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #460c4d;
/* rgb */ color: rgb(70, 12, 77);
/* oklch */ color: oklch(29.2% 0.120 323.1);
Tailwind
colors: {
  custom: {
    50: '#7c537f',
    500: '#460c4d',
    950: '#000000',
  },
}
SCSS
$custom: #460c4d;
$custom-light: #7c537f;
$custom-dark: #000000;
JSON
{
  "hex": "#460c4d",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 293.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29177,
    "c": 0.11991,
    "h": 323.1
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#460C4D
secondary
#36892C
accent
#F0384C
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #460C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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