#460646#460646

#460646 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.2% C 0.120 H 328.2°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#460646
RGBrgb(70, 6, 70)
HSLhsl(300, 84%, 15%)
HSVhsv(300, 91%, 27%)
CMYKcmyk(0%, 91.4%, 0%, 72.5%)
CIE-LABlab(14.82, 36.57, -22.81)
CIE-LCHlch(14.82, 43.10, 328.05°)
OKLaboklab(28.17% 0.1021 -0.0633)
OKLCHoklch(28.17% 0.12 328.2)
XYZxyz(3.6964, 1.8748, 5.9604)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460646 #064606
analogous
#260646 #460646 #460626
triadic
#460646 #464606 #064646
tetradic
#460646 #462606 #064606 #062646
square
#460646 #462606 #064606 #062646
split-complementary
#460646 #264606 #064626
monochromatic
#1C021C #1C021C #460646 #7E0B7E #B710B7

Accessibility & contrast

On white

15.27
#460646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#460646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460646
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460646#FFFFFF#000000##FFFFFF
##4606461.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#1A2845
Tritanopia (blue-blind)
#491227
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #460646;
/* rgb */ color: rgb(70, 6, 70);
/* oklch */ color: oklch(28.2% 0.120 328.2);
Tailwind
colors: {
  custom: {
    50: '#7c507a',
    500: '#460646',
    950: '#000000',
  },
}
SCSS
$custom: #460646;
$custom-light: #7c507a;
$custom-dark: #000000;
JSON
{
  "hex": "#460646",
  "rgb": {
    "r": 70,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 300,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28173,
    "c": 0.12018,
    "h": 328.2
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#460646
secondary
#228522
accent
#FA2D2D
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0209
muted
#7C787B

Preview Lab

Preview with #460646

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

Preview Lab → · Contrast checker → · Palette generator →

#460646 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva