#460B42#460B42

#460B42 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.111 H 331.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#460B42
RGBrgb(70, 11, 66)
HSLhsl(304, 73%, 16%)
HSVhsv(304, 84%, 27%)
CMYKcmyk(0%, 84.3%, 5.7%, 72.5%)
CIE-LABlab(15.14, 34.13, -19.49)
CIE-LCHlch(15.14, 39.30, 330.26°)
OKLaboklab(28.32% 0.0973 -0.0537)
OKLCHoklch(28.32% 0.111 331.1)
XYZxyz(3.6288, 1.9351, 5.3356)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460B42 #0B460F
analogous
#2C0B46 #460B42 #460B24
triadic
#460B42 #42460B #0B4246
tetradic
#460B42 #462C0B #0B460F #0B2446
square
#460B42 #462C0B #0B460F #0B2446
split-complementary
#460B42 #24460B #0B462C
monochromatic
#1A0419 #1A0419 #460B42 #7B1374 #B01CA6

Accessibility & contrast

On white

15.14
#460B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#460B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460B42
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460B42#FFFFFF#000000##FFFFFF
##460B421.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062143
Deuteranopia (green-blind)
#1E2941
Tritanopia (blue-blind)
#491326
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #460b42;
/* rgb */ color: rgb(70, 11, 66);
/* oklch */ color: oklch(28.3% 0.111 331.1);
Tailwind
colors: {
  custom: {
    50: '#7c5276',
    500: '#460b42',
    950: '#000000',
  },
}
SCSS
$custom: #460b42;
$custom-light: #7c5276;
$custom-dark: #000000;
JSON
{
  "hex": "#460b42",
  "rgb": {
    "r": 70,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 304.068,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2832,
    "c": 0.11119,
    "h": 331.1
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#460B42
secondary
#2A8230
accent
#F04538
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460B42

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

Preview Lab → · Contrast checker → · Palette generator →

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