#460F42#460F42

#460F42 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.106 H 331.1°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#460F42
RGBrgb(70, 15, 66)
HSLhsl(304, 65%, 17%)
HSVhsv(304, 79%, 27%)
CMYKcmyk(0%, 78.6%, 5.7%, 72.5%)
CIE-LABlab(15.68, 32.59, -18.64)
CIE-LCHlch(15.68, 37.54, 330.23°)
OKLaboklab(28.71% 0.0929 -0.0513)
OKLCHoklch(28.71% 0.106 331.1)
XYZxyz(3.6800, 2.0374, 5.3526)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460F42 #0F4613
analogous
#2F0F46 #460F42 #460F27
triadic
#460F42 #42460F #0F4246
tetradic
#460F42 #462F0F #0F4613 #0F2746
square
#460F42 #462F0F #0F4613 #0F2746
split-complementary
#460F42 #27460F #0F462F
monochromatic
#190518 #190518 #460F42 #781A72 #AB25A1

Accessibility & contrast

On white

14.92
#460F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#460F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460F42
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460F42#FFFFFF#000000##FFFFFF
##460F421.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2243
Deuteranopia (green-blind)
#202A41
Tritanopia (blue-blind)
#491527
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #460f42;
/* rgb */ color: rgb(70, 15, 66);
/* oklch */ color: oklch(28.7% 0.106 331.1);
Tailwind
colors: {
  custom: {
    50: '#7c5476',
    500: '#460f42',
    950: '#000000',
  },
}
SCSS
$custom: #460f42;
$custom-light: #7c5476;
$custom-dark: #000000;
JSON
{
  "hex": "#460f42",
  "rgb": {
    "r": 70,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 304.364,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28708,
    "c": 0.10612,
    "h": 331.1
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#460F42
secondary
#308036
accent
#E84C40
background
#F7F5F7
surface
#EEE8ED
border
#C9C4C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #460F42

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

Preview Lab → · Contrast checker → · Palette generator →

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