#460F5C#460F5C

#460F5C is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.131 H 313.8°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#460F5C
RGBrgb(70, 15, 92)
HSLhsl(283, 72%, 21%)
HSVhsv(283, 84%, 36%)
CMYKcmyk(23.9%, 83.7%, 0%, 63.9%)
CIE-LABlab(17.54, 38.02, -33.44)
CIE-LCHlch(17.54, 50.64, 318.67°)
OKLaboklab(30.62% 0.0908 -0.0945)
OKLCHoklch(30.62% 0.131 313.8)
XYZxyz(4.6280, 2.4166, 10.3458)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460F5C #255C0F
analogous
#1F0F5C #460F5C #5C0F4B
triadic
#460F5C #5C460F #0F5C46
tetradic
#460F5C #5C1F0F #255C0F #0F4B5C
square
#460F5C #5C1F0F #255C0F #0F4B5C
split-complementary
#460F5C #4B5C0F #0F5C1F
monochromatic
#14041A #1E0627 #460F5C #6E1891 #9620C5

Accessibility & contrast

On white

14.16
#460F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#460F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460F5C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460F5C#FFFFFF#000000##FFFFFF
##460F5C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#072C5A
Tritanopia (blue-blind)
#442135
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #460f5c;
/* rgb */ color: rgb(70, 15, 92);
/* oklch */ color: oklch(30.6% 0.131 313.8);
Tailwind
colors: {
  custom: {
    50: '#7d558b',
    500: '#460f5c',
    950: '#000000',
  },
}
SCSS
$custom: #460f5c;
$custom-light: #7d558b;
$custom-dark: #000000;
JSON
{
  "hex": "#460f5c",
  "rgb": {
    "r": 70,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 282.857,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3062,
    "c": 0.13104,
    "h": 313.8
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#460F5C
secondary
#4E9531
accent
#EF396D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #460F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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