#460342#460342

#460342 is a dark, vivid purple. Relative luminance 0.018; OKLCH L 27.6% C 0.120 H 331.1°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#460342
RGBrgb(70, 3, 66)
HSLhsl(304, 92%, 14%)
HSVhsv(304, 96%, 27%)
CMYKcmyk(0%, 95.7%, 5.7%, 72.5%)
CIE-LABlab(14.18, 36.92, -21.02)
CIE-LCHlch(14.18, 42.49, 330.35°)
OKLaboklab(27.64% 0.1054 -0.0581)
OKLCHoklch(27.64% 0.12 331.1)
XYZxyz(3.5417, 1.7609, 5.3065)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460342 #034607
analogous
#290346 #460342 #460321
triadic
#460342 #424603 #034246
tetradic
#460342 #462903 #034607 #032146
square
#460342 #462903 #034607 #032146
split-complementary
#460342 #214603 #034629
monochromatic
#1D011C #1D011C #460342 #810679 #BB08B1

Accessibility & contrast

On white

15.53
#460342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#460342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460342
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460342#FFFFFF#000000##FFFFFF
##4603421.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#1B2741
Tritanopia (blue-blind)
#490D24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #460342;
/* rgb */ color: rgb(70, 3, 66);
/* oklch */ color: oklch(27.6% 0.120 331.1);
Tailwind
colors: {
  custom: {
    50: '#7c4f76',
    500: '#460342',
    950: '#000000',
  },
}
SCSS
$custom: #460342;
$custom-light: #7c4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#460342",
  "rgb": {
    "r": 70,
    "g": 3,
    "b": 66
  },
  "hsl": {
    "h": 303.582,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27635,
    "c": 0.12038,
    "h": 331.1
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#460342
secondary
#1D8724
accent
#FF3629
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460342

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

Preview Lab → · Contrast checker → · Palette generator →

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