#462A72#462A72

#462A72 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.119 H 298.1°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#462A72
RGBrgb(70, 42, 114)
HSLhsl(263, 46%, 31%)
HSVhsv(263, 63%, 45%)
CMYKcmyk(38.6%, 63.2%, 0%, 55.3%)
CIE-LABlab(24.23, 29.89, -37.01)
CIE-LCHlch(24.23, 47.57, 308.92°)
OKLaboklab(35.96% 0.0561 -0.1052)
OKLCHoklch(35.96% 0.119 298.1)
XYZxyz(6.3903, 4.1728, 16.3851)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A72 #56722A
analogous
#2A3272 #462A72 #6A2A72
triadic
#462A72 #72462A #2A7246
tetradic
#462A72 #722A32 #56722A #2A726A
square
#462A72 #722A32 #56722A #2A726A
split-complementary
#462A72 #726A2A #32722A
monochromatic
#0F0919 #2B1A45 #462A72 #613A9F #7F56C1

Accessibility & contrast

On white

11.45
#462A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#462A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A72
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A72#FFFFFF#000000##FFFFFF
##462A721.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#3C3949
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462a72;
/* rgb */ color: rgb(70, 42, 114);
/* oklch */ color: oklch(36.0% 0.119 298.1);
Tailwind
colors: {
  custom: {
    50: '#7d659b',
    500: '#462a72',
    950: '#000000',
  },
}
SCSS
$custom: #462a72;
$custom-light: #7d659b;
$custom-dark: #000000;
JSON
{
  "hex": "#462a72",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 263.333,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3596,
    "c": 0.11918,
    "h": 298.1
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#462A72
secondary
#85A454
accent
#D652A3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #462A72

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

Preview Lab → · Contrast checker → · Palette generator →

#462A72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva