#460842#460842

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

Color values

HEX#460842
RGBrgb(70, 8, 66)
HSLhsl(304, 79%, 15%)
HSVhsv(304, 89%, 27%)
CMYKcmyk(0%, 88.6%, 5.7%, 72.5%)
CIE-LABlab(14.79, 35.15, -20.06)
CIE-LCHlch(14.79, 40.47, 330.29°)
OKLaboklab(28.07% 0.1003 -0.0553)
OKLCHoklch(28.07% 0.115 331.1)
XYZxyz(3.5960, 1.8694, 5.3246)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460842 #08460C
analogous
#2B0846 #460842 #460823
triadic
#460842 #424608 #084246
tetradic
#460842 #462B08 #08460C #082346
square
#460842 #462B08 #08460C #082346
split-complementary
#460842 #234608 #08462B
monochromatic
#1B031A #1B031A #460842 #7D0E76 #B415AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##460842#FFFFFF#000000##FFFFFF
##4608421.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)
#022043
Deuteranopia (green-blind)
#1D2841
Tritanopia (blue-blind)
#491125
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #460842;
/* rgb */ color: rgb(70, 8, 66);
/* oklch */ color: oklch(28.1% 0.115 331.1);
Tailwind
colors: {
  custom: {
    50: '#7c5176',
    500: '#460842',
    950: '#000000',
  },
}
SCSS
$custom: #460842;
$custom-light: #7c5176;
$custom-dark: #000000;
JSON
{
  "hex": "#460842",
  "rgb": {
    "r": 70,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 303.871,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28066,
    "c": 0.11457,
    "h": 331.1
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#460842
secondary
#26842C
accent
#F63F32
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460842

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

Preview Lab → · Contrast checker → · Palette generator →

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