#460F52#460F52

#460F52 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 29.8% C 0.121 H 319.7°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#460F52
RGBrgb(70, 15, 82)
HSLhsl(289, 69%, 19%)
HSVhsv(289, 82%, 32%)
CMYKcmyk(14.6%, 81.7%, 0%, 67.8%)
CIE-LABlab(16.76, 35.82, -27.95)
CIE-LCHlch(16.76, 45.43, 322.04°)
OKLaboklab(29.83% 0.0924 -0.0784)
OKLCHoklch(29.83% 0.121 319.7)
XYZxyz(4.2194, 2.2531, 8.1937)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460F52 #1B520F
analogous
#250F52 #460F52 #520F3D
triadic
#460F52 #52460F #0F5246
tetradic
#460F52 #52250F #1B520F #0F3D52
square
#460F52 #52250F #1B520F #0F3D52
split-complementary
#460F52 #3D520F #0F5225
monochromatic
#16051A #1A061E #460F52 #721886 #9E22B9

Accessibility & contrast

On white

14.48
#460F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#460F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460F52
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460F52#FFFFFF#000000##FFFFFF
##460F521.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#152B50
Tritanopia (blue-blind)
#461D30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #460f52;
/* rgb */ color: rgb(70, 15, 82);
/* oklch */ color: oklch(29.8% 0.121 319.7);
Tailwind
colors: {
  custom: {
    50: '#7c5483',
    500: '#460f52',
    950: '#000000',
  },
}
SCSS
$custom: #460f52;
$custom-light: #7c5483;
$custom-dark: #000000;
JSON
{
  "hex": "#460f52",
  "rgb": {
    "r": 70,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 289.254,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29828,
    "c": 0.12118,
    "h": 319.7
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#460F52
secondary
#418C31
accent
#EC3C5B
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #460F52

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

Preview Lab → · Contrast checker → · Palette generator →

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