#460C4F#460C4F

#460C4F is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.3% C 0.122 H 321.8°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#460C4F
RGBrgb(70, 12, 79)
HSLhsl(292, 74%, 18%)
HSVhsv(292, 85%, 31%)
CMYKcmyk(11.4%, 84.8%, 0%, 69%)
CIE-LABlab(16.15, 36.31, -26.88)
CIE-LCHlch(16.15, 45.18, 323.48°)
OKLaboklab(29.33% 0.0957 -0.0753)
OKLCHoklch(29.33% 0.122 321.8)
XYZxyz(4.0684, 2.1298, 7.5924)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C4F #154F0C
analogous
#240C4F #460C4F #4F0C36
triadic
#460C4F #4F460C #0C4F46
tetradic
#460C4F #4F240C #154F0C #0C364F
square
#460C4F #4F240C #154F0C #0C364F
split-complementary
#460C4F #364F0C #0C4F24
monochromatic
#18041B #18041B #460C4F #751484 #A41CB9

Accessibility & contrast

On white

14.73
#460C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#460C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460C4F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C4F#FFFFFF#000000##FFFFFF
##460C4F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#471A2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #460c4f;
/* rgb */ color: rgb(70, 12, 79);
/* oklch */ color: oklch(29.3% 0.122 321.8);
Tailwind
colors: {
  custom: {
    50: '#7c5381',
    500: '#460c4f',
    950: '#000000',
  },
}
SCSS
$custom: #460c4f;
$custom-light: #7c5381;
$custom-dark: #000000;
JSON
{
  "hex": "#460c4f",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 291.94,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29326,
    "c": 0.12177,
    "h": 321.8
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#460C4F
secondary
#398B2C
accent
#F03850
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #460C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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