#460546#460546

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

Color values

HEX#460546
RGBrgb(70, 5, 70)
HSLhsl(300, 87%, 15%)
HSVhsv(300, 93%, 27%)
CMYKcmyk(0%, 92.9%, 0%, 72.5%)
CIE-LABlab(14.70, 36.92, -23.00)
CIE-LCHlch(14.70, 43.50, 328.08°)
OKLaboklab(28.09% 0.1031 -0.0639)
OKLCHoklch(28.09% 0.121 328.2)
XYZxyz(3.6855, 1.8531, 5.9567)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460546 #054605
analogous
#260546 #460546 #460526
triadic
#460546 #464605 #054646
tetradic
#460546 #462605 #054605 #052646
square
#460546 #462605 #054605 #052646
split-complementary
#460546 #264605 #054626
monochromatic
#1D021D #1D021D #460546 #7F097F #B80DB8

Accessibility & contrast

On white

15.32
#460546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#460546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460546
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460546#FFFFFF#000000##FFFFFF
##4605461.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#192845
Tritanopia (blue-blind)
#491127
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #460546;
/* rgb */ color: rgb(70, 5, 70);
/* oklch */ color: oklch(28.1% 0.121 328.2);
Tailwind
colors: {
  custom: {
    50: '#7c507a',
    500: '#460546',
    950: '#000000',
  },
}
SCSS
$custom: #460546;
$custom-light: #7c507a;
$custom-dark: #000000;
JSON
{
  "hex": "#460546",
  "rgb": {
    "r": 70,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 300,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.28089,
    "c": 0.12131,
    "h": 328.2
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#460546
secondary
#218621
accent
#FD2B2B
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0209
muted
#7C787B

Preview Lab

Preview with #460546

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

Preview Lab → · Contrast checker → · Palette generator →

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