#460C51#460C51

#460C51 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.5% C 0.124 H 320.5°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#460C51
RGBrgb(70, 12, 81)
HSLhsl(290, 74%, 18%)
HSVhsv(290, 85%, 32%)
CMYKcmyk(13.6%, 85.2%, 0%, 68.2%)
CIE-LABlab(16.30, 36.72, -28.01)
CIE-LCHlch(16.30, 46.19, 322.67°)
OKLaboklab(29.48% 0.0955 -0.0786)
OKLCHoklch(29.48% 0.124 320.5)
XYZxyz(4.1423, 2.1593, 7.9816)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C51 #17510C
analogous
#230C51 #460C51 #510C39
triadic
#460C51 #51460C #0C5146
tetradic
#460C51 #51230C #17510C #0C3951
square
#460C51 #51230C #17510C #0C3951
split-complementary
#460C51 #39510C #0C5123
monochromatic
#17041B #18041C #460C51 #741486 #A21CBC

Accessibility & contrast

On white

14.67
#460C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #460C51
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C51#FFFFFF#000000##FFFFFF
##460C511.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#142A4F
Tritanopia (blue-blind)
#461B2E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #460c51;
/* rgb */ color: rgb(70, 12, 81);
/* oklch */ color: oklch(29.5% 0.124 320.5);
Tailwind
colors: {
  custom: {
    50: '#7c5382',
    500: '#460c51',
    950: '#000000',
  },
}
SCSS
$custom: #460c51;
$custom-light: #7c5382;
$custom-dark: #000000;
JSON
{
  "hex": "#460c51",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 290.435,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29478,
    "c": 0.12364,
    "h": 320.5
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#460C51
secondary
#3C8C2C
accent
#F13755
background
#F7F5F8
surface
#EEE8EF
border
#C9C4CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #460C51

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

Preview Lab → · Contrast checker → · Palette generator →

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