#460940#460940

#460940 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.112 H 332.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#460940
RGBrgb(70, 9, 64)
HSLhsl(306, 77%, 15%)
HSVhsv(306, 87%, 27%)
CMYKcmyk(0%, 87.1%, 8.6%, 72.5%)
CIE-LABlab(14.78, 34.45, -18.66)
CIE-LCHlch(14.78, 39.18, 331.55°)
OKLaboklab(28.02% 0.0993 -0.0513)
OKLCHoklch(28.02% 0.112 332.7)
XYZxyz(3.5489, 1.8679, 5.0231)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460940 #09460F
analogous
#2D0946 #460940 #460921
triadic
#460940 #404609 #094046
tetradic
#460940 #462D09 #09460F #092146
square
#460940 #462D09 #09460F #092146
split-complementary
#460940 #214609 #09462D
monochromatic
#1B0319 #1B0319 #460940 #7C1072 #B217A3

Accessibility & contrast

On white

15.29
#460940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #460940
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460940#FFFFFF#000000##FFFFFF
##4609401.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #460940;
/* rgb */ color: rgb(70, 9, 64);
/* oklch */ color: oklch(28.0% 0.112 332.7);
Tailwind
colors: {
  custom: {
    50: '#7c5175',
    500: '#460940',
    950: '#000000',
  },
}
SCSS
$custom: #460940;
$custom-light: #7c5175;
$custom-dark: #000000;
JSON
{
  "hex": "#460940",
  "rgb": {
    "r": 70,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 305.902,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28019,
    "c": 0.11176,
    "h": 332.7
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#460940
secondary
#278430
accent
#F44734
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460940

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

Preview Lab → · Contrast checker → · Palette generator →

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