#460840#460840

#460840 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.113 H 332.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#460840
RGBrgb(70, 8, 64)
HSLhsl(306, 79%, 15%)
HSVhsv(306, 89%, 27%)
CMYKcmyk(0%, 88.6%, 8.6%, 72.5%)
CIE-LABlab(14.66, 34.80, -18.85)
CIE-LCHlch(14.66, 39.58, 331.55°)
OKLaboklab(27.93% 0.1003 -0.0519)
OKLCHoklch(27.93% 0.113 332.7)
XYZxyz(3.5381, 1.8462, 5.0195)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460840 #08460E
analogous
#2D0846 #460840 #460821
triadic
#460840 #404608 #084046
tetradic
#460840 #462D08 #08460E #082146
square
#460840 #462D08 #08460E #082146
split-complementary
#460840 #214608 #08462D
monochromatic
#1B0319 #1B0319 #460840 #7D0E72 #B415A4

Accessibility & contrast

On white

15.34
#460840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#460840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460840
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460840#FFFFFF#000000##FFFFFF
##4608401.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F41
Deuteranopia (green-blind)
#1E283F
Tritanopia (blue-blind)
#491024
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #460840;
/* rgb */ color: rgb(70, 8, 64);
/* oklch */ color: oklch(27.9% 0.113 332.7);
Tailwind
colors: {
  custom: {
    50: '#7c5175',
    500: '#460840',
    950: '#000000',
  },
}
SCSS
$custom: #460840;
$custom-light: #7c5175;
$custom-dark: #000000;
JSON
{
  "hex": "#460840",
  "rgb": {
    "r": 70,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 305.806,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27934,
    "c": 0.11291,
    "h": 332.7
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#460840
secondary
#26842F
accent
#F64532
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460840

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

Preview Lab → · Contrast checker → · Palette generator →

#460840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva