#462173#462173

#462173 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.134 H 300.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#462173
RGBrgb(70, 33, 115)
HSLhsl(267, 55%, 29%)
HSVhsv(267, 71%, 45%)
CMYKcmyk(39.1%, 71.3%, 0%, 54.9%)
CIE-LABlab(22.40, 35.36, -40.62)
CIE-LCHlch(22.40, 53.85, 311.04°)
OKLaboklab(34.66% 0.0671 -0.1157)
OKLCHoklch(34.66% 0.134 300.1)
XYZxyz(6.1634, 3.6276, 16.5918)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462173 #4E7321
analogous
#212573 #462173 #6F2173
triadic
#462173 #734621 #217346
tetradic
#462173 #732125 #4E7321 #21736F
square
#462173 #732125 #4E7321 #21736F
split-complementary
#462173 #736F21 #257321
monochromatic
#0E0718 #291343 #462173 #632FA3 #8145CA

Accessibility & contrast

On white

12.17
#462173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#462173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462173
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462173#FFFFFF#000000##FFFFFF
##4621731.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#3C3447
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462173;
/* rgb */ color: rgb(70, 33, 115);
/* oklch */ color: oklch(34.7% 0.134 300.1);
Tailwind
colors: {
  custom: {
    50: '#7e5f9c',
    500: '#462173',
    950: '#000000',
  },
}
SCSS
$custom: #462173;
$custom-light: #7e5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#462173",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 267.073,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.13381,
    "h": 300.1
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#462173
secondary
#7CA649
accent
#DF499B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462173

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

Preview Lab → · Contrast checker → · Palette generator →

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