#460C47#460C47

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

Color values

HEX#460C47
RGBrgb(70, 12, 71)
HSLhsl(299, 71%, 16%)
HSVhsv(299, 83%, 28%)
CMYKcmyk(1.4%, 83.1%, 0%, 72.2%)
CIE-LABlab(15.59, 34.71, -22.27)
CIE-LCHlch(15.59, 41.24, 327.32°)
OKLaboklab(28.75% 0.0963 -0.0618)
OKLCHoklch(28.75% 0.114 327.3)
XYZxyz(3.7945, 2.0202, 6.1501)
Luminance0.0202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C47 #0D470C
analogous
#290C47 #460C47 #470C2B
triadic
#460C47 #47460C #0C4746
tetradic
#460C47 #47290C #0D470C #0C2B47
square
#460C47 #47290C #0D470C #0C2B47
split-complementary
#460C47 #2B470C #0C4729
monochromatic
#1A041A #1A041A #460C47 #7A157B #AD1EB0

Accessibility & contrast

On white

14.96
#460C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #460C47
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C47#FFFFFF#000000##FFFFFF
##460C471.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012249
Deuteranopia (green-blind)
#1C2946
Tritanopia (blue-blind)
#481629
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #460c47;
/* rgb */ color: rgb(70, 12, 71);
/* oklch */ color: oklch(28.7% 0.114 327.3);
Tailwind
colors: {
  custom: {
    50: '#7c537a',
    500: '#460c47',
    950: '#000000',
  },
}
SCSS
$custom: #460c47;
$custom-light: #7c537a;
$custom-dark: #000000;
JSON
{
  "hex": "#460c47",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 298.983,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28747,
    "c": 0.11442,
    "h": 327.3
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#460C47
secondary
#2D832C
accent
#EE3A3D
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #460C47

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

Preview Lab → · Contrast checker → · Palette generator →

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