#460340#460340

#460340 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.5% C 0.119 H 332.6°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#460340
RGBrgb(70, 3, 64)
HSLhsl(305, 92%, 14%)
HSVhsv(305, 96%, 27%)
CMYKcmyk(0%, 95.7%, 8.6%, 72.5%)
CIE-LABlab(14.05, 36.58, -19.82)
CIE-LCHlch(14.05, 41.61, 331.55°)
OKLaboklab(27.5% 0.1055 -0.0546)
OKLCHoklch(27.5% 0.119 332.6)
XYZxyz(3.4838, 1.7377, 5.0014)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460340 #034609
analogous
#2B0346 #460340 #46031F
triadic
#460340 #404603 #034046
tetradic
#460340 #462B03 #034609 #031F46
square
#460340 #462B03 #034609 #031F46
split-complementary
#460340 #1F4603 #03462B
monochromatic
#1D011B #1D011B #460340 #810676 #BB08AB

Accessibility & contrast

On white

15.59
#460340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #460340
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460340#FFFFFF#000000##FFFFFF
##4603401.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#1C273F
Tritanopia (blue-blind)
#4A0C23
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #460340;
/* rgb */ color: rgb(70, 3, 64);
/* oklch */ color: oklch(27.5% 0.119 332.6);
Tailwind
colors: {
  custom: {
    50: '#7c4f75',
    500: '#460340',
    950: '#000000',
  },
}
SCSS
$custom: #460340;
$custom-light: #7c4f75;
$custom-dark: #000000;
JSON
{
  "hex": "#460340",
  "rgb": {
    "r": 70,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 305.373,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27498,
    "c": 0.11881,
    "h": 332.6
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#460340
secondary
#1D8727
accent
#FF3C29
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #460340

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

Preview Lab → · Contrast checker → · Palette generator →

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