#460C40#460C40

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

Color values

HEX#460C40
RGBrgb(70, 12, 64)
HSLhsl(306, 71%, 16%)
HSVhsv(306, 83%, 27%)
CMYKcmyk(0%, 82.9%, 8.6%, 72.5%)
CIE-LABlab(15.15, 33.40, -18.09)
CIE-LCHlch(15.15, 37.98, 331.57°)
OKLaboklab(28.28% 0.0962 -0.0497)
OKLCHoklch(28.28% 0.108 332.7)
XYZxyz(3.5827, 1.9355, 5.0344)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C40 #0C4612
analogous
#2F0C46 #460C40 #460C23
triadic
#460C40 #40460C #0C4046
tetradic
#460C40 #462F0C #0C4612 #0C2346
square
#460C40 #462F0C #0C4612 #0C2346
split-complementary
#460C40 #23460C #0C462F
monochromatic
#1A0418 #1A0418 #460C40 #7A1570 #AE1EA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##460C40#FFFFFF#000000##FFFFFF
##460C401.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)
#092141
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#491225
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #460c40;
/* rgb */ color: rgb(70, 12, 64);
/* oklch */ color: oklch(28.3% 0.108 332.7);
Tailwind
colors: {
  custom: {
    50: '#7c5275',
    500: '#460c40',
    950: '#000000',
  },
}
SCSS
$custom: #460c40;
$custom-light: #7c5275;
$custom-dark: #000000;
JSON
{
  "hex": "#460c40",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 306.207,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28282,
    "c": 0.10827,
    "h": 332.7
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#460C40
secondary
#2C8235
accent
#ED4D3A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460C40

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

Preview Lab → · Contrast checker → · Palette generator →

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