#460C48#460C48

#460C48 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.8% C 0.115 H 326.6°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#460C48
RGBrgb(70, 12, 72)
HSLhsl(298, 71%, 16%)
HSVhsv(298, 83%, 28%)
CMYKcmyk(2.8%, 83.3%, 0%, 71.8%)
CIE-LABlab(15.66, 34.90, -22.85)
CIE-LCHlch(15.66, 41.72, 326.79°)
OKLaboklab(28.82% 0.0963 -0.0635)
OKLCHoklch(28.82% 0.115 326.6)
XYZxyz(3.8269, 2.0332, 6.3205)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C48 #0E480C
analogous
#280C48 #460C48 #480C2C
triadic
#460C48 #48460C #0C4846
tetradic
#460C48 #48280C #0E480C #0C2C48
square
#460C48 #48280C #0E480C #0C2C48
split-complementary
#460C48 #2C480C #0C4828
monochromatic
#1A041A #1A041A #460C48 #79157C #AC1DB1

Accessibility & contrast

On white

14.93
#460C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#460C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460C48
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C48#FFFFFF#000000##FFFFFF
##460C481.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#1B2A47
Tritanopia (blue-blind)
#481629
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #460c48;
/* rgb */ color: rgb(70, 12, 72);
/* oklch */ color: oklch(28.8% 0.115 326.6);
Tailwind
colors: {
  custom: {
    50: '#7c537b',
    500: '#460c48',
    950: '#000000',
  },
}
SCSS
$custom: #460c48;
$custom-light: #7c537b;
$custom-dark: #000000;
JSON
{
  "hex": "#460c48",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 298,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28817,
    "c": 0.11533,
    "h": 326.6
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#460C48
secondary
#2F842C
accent
#EE3A40
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #460C48

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

Preview Lab → · Contrast checker → · Palette generator →

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