#460F5F#460F5F

#460F5F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.134 H 312.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#460F5F
RGBrgb(70, 15, 95)
HSLhsl(281, 73%, 22%)
HSVhsv(281, 84%, 37%)
CMYKcmyk(26.3%, 84.2%, 0%, 62.7%)
CIE-LABlab(17.78, 38.71, -35.04)
CIE-LCHlch(17.78, 52.21, 317.84°)
OKLaboklab(30.87% 0.0901 -0.0992)
OKLCHoklch(30.87% 0.134 312.2)
XYZxyz(4.7618, 2.4701, 11.0502)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460F5F #285F0F
analogous
#1E0F5F #460F5F #5F0F50
triadic
#460F5F #5F460F #0F5F46
tetradic
#460F5F #5F1E0F #285F0F #0F505F
square
#460F5F #5F1E0F #285F0F #0F505F
split-complementary
#460F5F #505F0F #0F5F1E
monochromatic
#13041A #1F072A #460F5F #6D1794 #9420C9

Accessibility & contrast

On white

14.06
#460F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#460F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460F5F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460F5F#FFFFFF#000000##FFFFFF
##460F5F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#022D5D
Tritanopia (blue-blind)
#432337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #460f5f;
/* rgb */ color: rgb(70, 15, 95);
/* oklch */ color: oklch(30.9% 0.134 312.2);
Tailwind
colors: {
  custom: {
    50: '#7d558d',
    500: '#460f5f',
    950: '#000000',
  },
}
SCSS
$custom: #460f5f;
$custom-light: #7d558d;
$custom-dark: #000000;
JSON
{
  "hex": "#460f5f",
  "rgb": {
    "r": 70,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 281.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.13404,
    "h": 312.2
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#460F5F
secondary
#529832
accent
#EF3872
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #460F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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