#462573#462573

#462573 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.128 H 299.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#462573
RGBrgb(70, 37, 115)
HSLhsl(265, 51%, 30%)
HSVhsv(265, 68%, 45%)
CMYKcmyk(39.1%, 67.8%, 0%, 54.9%)
CIE-LABlab(23.21, 33.13, -39.30)
CIE-LCHlch(23.21, 51.40, 310.13°)
OKLaboklab(35.24% 0.0624 -0.1119)
OKLCHoklch(35.24% 0.128 299.1)
XYZxyz(6.2811, 3.8630, 16.6310)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462573 #527325
analogous
#252B73 #462573 #6D2573
triadic
#462573 #734625 #257346
tetradic
#462573 #73252B #527325 #25736D
square
#462573 #73252B #527325 #25736D
split-complementary
#462573 #736D25 #2B7325
monochromatic
#0E0717 #2A1645 #462573 #6234A1 #804DC6

Accessibility & contrast

On white

11.85
#462573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#462573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462573
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462573#FFFFFF#000000##FFFFFF
##4625731.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#3C3748
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462573;
/* rgb */ color: rgb(70, 37, 115);
/* oklch */ color: oklch(35.2% 0.128 299.1);
Tailwind
colors: {
  custom: {
    50: '#7d629c',
    500: '#462573',
    950: '#000000',
  },
}
SCSS
$custom: #462573;
$custom-light: #7d629c;
$custom-dark: #000000;
JSON
{
  "hex": "#462573",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 265.385,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35243,
    "c": 0.1281,
    "h": 299.1
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#462573
secondary
#81A64E
accent
#DB4D9F
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462573

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

Preview Lab → · Contrast checker → · Palette generator →

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