#462772#462772

#462772 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.124 H 299.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#462772
RGBrgb(70, 39, 114)
HSLhsl(265, 49%, 30%)
HSVhsv(265, 66%, 45%)
CMYKcmyk(38.6%, 65.8%, 0%, 55.3%)
CIE-LABlab(23.57, 31.68, -38.09)
CIE-LCHlch(23.57, 49.54, 309.75°)
OKLaboklab(35.47% 0.06 -0.1083)
OKLCHoklch(35.47% 0.124 299)
XYZxyz(6.2878, 3.9680, 16.3509)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462772 #537227
analogous
#272D72 #462772 #6C2772
triadic
#462772 #724627 #277246
tetradic
#462772 #72272D #537227 #27726C
square
#462772 #72272D #537227 #27726C
split-complementary
#462772 #726C27 #2D7227
monochromatic
#0E0817 #2A1744 #462772 #6237A0 #8050C3

Accessibility & contrast

On white

11.71
#462772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#462772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462772
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462772#FFFFFF#000000##FFFFFF
##4627721.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#053770
Tritanopia (blue-blind)
#3C3848
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462772;
/* rgb */ color: rgb(70, 39, 114);
/* oklch */ color: oklch(35.5% 0.124 299.0);
Tailwind
colors: {
  custom: {
    50: '#7d639b',
    500: '#462772',
    950: '#000000',
  },
}
SCSS
$custom: #462772;
$custom-light: #7d639b;
$custom-dark: #000000;
JSON
{
  "hex": "#462772",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 264.8,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.35473,
    "c": 0.12382,
    "h": 299
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#462772
secondary
#82A450
accent
#D94FA0
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462772

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

Preview Lab → · Contrast checker → · Palette generator →

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