#462DA2#462DA2

#462DA2 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.177 H 285.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#462DA2
RGBrgb(70, 45, 162)
HSLhsl(253, 57%, 41%)
HSVhsv(253, 72%, 64%)
CMYKcmyk(56.8%, 72.2%, 0%, 36.5%)
CIE-LABlab(28.87, 42.52, -59.34)
CIE-LCHlch(28.87, 73.00, 305.62°)
OKLaboklab(40.54% 0.0463 -0.1708)
OKLCHoklch(40.54% 0.177 285.2)
XYZxyz(9.9838, 5.7869, 34.7663)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DA2 #89A22D
analogous
#2D4EA2 #462DA2 #812DA2
triadic
#462DA2 #A2462D #2DA246
tetradic
#462DA2 #A22D4E #89A22D #2DA281
square
#462DA2 #A22D4E #89A22D #2DA281
split-complementary
#462DA2 #A2812D #4EA22D
monochromatic
#1D1242 #312072 #462DA2 #5F42CA #8772D8

Accessibility & contrast

On white

9.73
#462DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#462DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DA2
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DA2#FFFFFF#000000##FFFFFF
##462DA21.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#1A4C64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462da2;
/* rgb */ color: rgb(70, 45, 162);
/* oklch */ color: oklch(40.5% 0.177 285.2);
Tailwind
colors: {
  custom: {
    50: '#8468bf',
    500: '#462da2',
    950: '#000000',
  },
}
SCSS
$custom: #462da2;
$custom-light: #8468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462da2",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 252.821,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40541,
    "c": 0.17691,
    "h": 285.2
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#462DA2
secondary
#ADBF6C
accent
#E048BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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