#462872#462872

#462872 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.122 H 298.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#462872
RGBrgb(70, 40, 114)
HSLhsl(264, 48%, 30%)
HSVhsv(264, 65%, 45%)
CMYKcmyk(38.6%, 64.9%, 0%, 55.3%)
CIE-LABlab(23.79, 31.09, -37.73)
CIE-LCHlch(23.79, 48.89, 309.48°)
OKLaboklab(35.63% 0.0587 -0.1073)
OKLCHoklch(35.63% 0.122 298.7)
XYZxyz(6.3211, 4.0345, 16.3620)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462872 #547228
analogous
#282F72 #462872 #6B2872
triadic
#462872 #724628 #287246
tetradic
#462872 #72282F #547228 #28726B
square
#462872 #72282F #547228 #28726B
split-complementary
#462872 #726B28 #2F7228
monochromatic
#0E0817 #2A1845 #462872 #62389F #8052C2

Accessibility & contrast

On white

11.62
#462872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#462872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462872
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462872#FFFFFF#000000##FFFFFF
##4628721.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#083870
Tritanopia (blue-blind)
#3C3849
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462872;
/* rgb */ color: rgb(70, 40, 114);
/* oklch */ color: oklch(35.6% 0.122 298.7);
Tailwind
colors: {
  custom: {
    50: '#7d649b',
    500: '#462872',
    950: '#000000',
  },
}
SCSS
$custom: #462872;
$custom-light: #7d649b;
$custom-dark: #000000;
JSON
{
  "hex": "#462872",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 264.324,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35633,
    "c": 0.12229,
    "h": 298.7
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#462872
secondary
#83A452
accent
#D850A1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #462872

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

Preview Lab → · Contrast checker → · Palette generator →

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