#460746#460746

#460746 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.119 H 328.2°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#460746
RGBrgb(70, 7, 70)
HSLhsl(300, 82%, 15%)
HSVhsv(300, 90%, 27%)
CMYKcmyk(0%, 90%, 0%, 72.5%)
CIE-LABlab(14.93, 36.23, -22.62)
CIE-LCHlch(14.93, 42.71, 328.02°)
OKLaboklab(28.26% 0.1012 -0.0628)
OKLCHoklch(28.26% 0.119 328.2)
XYZxyz(3.7072, 1.8965, 5.9640)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#460746 #074607
analogous
#260746 #460746 #460726
triadic
#460746 #464607 #074646
tetradic
#460746 #462607 #074607 #072646
square
#460746 #462607 #074607 #072646
split-complementary
#460746 #264607 #074626
monochromatic
#1C031C #1C031C #460746 #7E0D7E #B512B5

Accessibility & contrast

On white

15.23
#460746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#460746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #460746
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##460746#FFFFFF#000000##FFFFFF
##4607461.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#1A2845
Tritanopia (blue-blind)
#491227
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #460746;
/* rgb */ color: rgb(70, 7, 70);
/* oklch */ color: oklch(28.3% 0.119 328.2);
Tailwind
colors: {
  custom: {
    50: '#7c517a',
    500: '#460746',
    950: '#000000',
  },
}
SCSS
$custom: #460746;
$custom-light: #7c517a;
$custom-dark: #000000;
JSON
{
  "hex": "#460746",
  "rgb": {
    "r": 70,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 300,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28257,
    "c": 0.11906,
    "h": 328.2
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#460746
secondary
#248524
accent
#F83030
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0209
muted
#7C787B

Preview Lab

Preview with #460746

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

Preview Lab → · Contrast checker → · Palette generator →

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