#460740#460740

#460740 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.114 H 332.6°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#460740
RGBrgb(70, 7, 64)
HSLhsl(306, 82%, 15%)
HSVhsv(306, 90%, 27%)
CMYKcmyk(0%, 90%, 8.6%, 72.5%)
CIE-LABlab(14.54, 35.15, -19.04)
CIE-LCHlch(14.54, 39.98, 331.55°)
OKLaboklab(27.85% 0.1013 -0.0524)
OKLCHoklch(27.85% 0.114 332.6)
XYZxyz(3.5272, 1.8245, 5.0159)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460740 #07460D
analogous
#2C0746 #460740 #460721
triadic
#460740 #404607 #074046
tetradic
#460740 #462C07 #07460D #072146
square
#460740 #462C07 #07460D #072146
split-complementary
#460740 #214607 #07462C
monochromatic
#1C0319 #1C0319 #460740 #7E0D73 #B512A6

Accessibility & contrast

On white

15.39
#460740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#460740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460740
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460740#FFFFFF#000000##FFFFFF
##4607401.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031F41
Deuteranopia (green-blind)
#1E283F
Tritanopia (blue-blind)
#4A0F24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #460740;
/* rgb */ color: rgb(70, 7, 64);
/* oklch */ color: oklch(27.8% 0.114 332.6);
Tailwind
colors: {
  custom: {
    50: '#7c5075',
    500: '#460740',
    950: '#000000',
  },
}
SCSS
$custom: #460740;
$custom-light: #7c5075;
$custom-dark: #000000;
JSON
{
  "hex": "#460740",
  "rgb": {
    "r": 70,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 305.714,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27848,
    "c": 0.11406,
    "h": 332.6
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#460740
secondary
#24852D
accent
#F84330
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460740

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

Preview Lab → · Contrast checker → · Palette generator →

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