#460C45#460C45

#460C45 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.113 H 328.8°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#460C45
RGBrgb(70, 12, 69)
HSLhsl(301, 71%, 16%)
HSVhsv(301, 83%, 27%)
CMYKcmyk(0%, 82.9%, 1.4%, 72.5%)
CIE-LABlab(15.46, 34.33, -21.09)
CIE-LCHlch(15.46, 40.29, 328.44°)
OKLaboklab(28.61% 0.0963 -0.0584)
OKLCHoklch(28.61% 0.113 328.8)
XYZxyz(3.7314, 1.9950, 5.8176)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460C45 #0C460D
analogous
#2A0C46 #460C45 #460C28
triadic
#460C45 #45460C #0C4546
tetradic
#460C45 #462A0C #0C460D #0C2846
square
#460C45 #462A0C #0C460D #0C2846
split-complementary
#460C45 #28460C #0C462A
monochromatic
#1A041A #1A041A #460C45 #7A1578 #AE1EAC

Accessibility & contrast

On white

15.01
#460C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#460C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460C45
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460C45#FFFFFF#000000##FFFFFF
##460C451.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032247
Deuteranopia (green-blind)
#1D2944
Tritanopia (blue-blind)
#491528
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #460c45;
/* rgb */ color: rgb(70, 12, 69);
/* oklch */ color: oklch(28.6% 0.113 328.8);
Tailwind
colors: {
  custom: {
    50: '#7c5279',
    500: '#460c45',
    950: '#000000',
  },
}
SCSS
$custom: #460c45;
$custom-light: #7c5279;
$custom-dark: #000000;
JSON
{
  "hex": "#460c45",
  "rgb": {
    "r": 70,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 301.034,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2861,
    "c": 0.11263,
    "h": 328.8
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#460C45
secondary
#2C822D
accent
#ED3D3A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #460C45

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

Preview Lab → · Contrast checker → · Palette generator →

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