#462EA4#462EA4

#462EA4 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.178 H 284.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#462EA4
RGBrgb(70, 46, 164)
HSLhsl(252, 56%, 41%)
HSVhsv(252, 72%, 64%)
CMYKcmyk(57.3%, 72%, 0%, 35.7%)
CIE-LABlab(29.25, 42.58, -59.92)
CIE-LCHlch(29.25, 73.51, 305.39°)
OKLaboklab(40.87% 0.045 -0.1725)
OKLCHoklch(40.87% 0.178 284.6)
XYZxyz(10.2016, 5.9358, 35.7229)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EA4 #8CA42E
analogous
#2E51A4 #462EA4 #812EA4
triadic
#462EA4 #A4462E #2EA446
tetradic
#462EA4 #A42E51 #8CA42E #2EA481
square
#462EA4 #A42E51 #8CA42E #2EA481
split-complementary
#462EA4 #A4812E #51A42E
monochromatic
#1D1344 #322174 #462EA4 #6045CB #8974D8

Accessibility & contrast

On white

9.60
#462EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#462EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EA4
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EA4#FFFFFF#000000##FFFFFF
##462EA41.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#174E66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462ea4;
/* rgb */ color: rgb(70, 46, 164);
/* oklch */ color: oklch(40.9% 0.178 284.6);
Tailwind
colors: {
  custom: {
    50: '#8469c0',
    500: '#462ea4',
    950: '#000000',
  },
}
SCSS
$custom: #462ea4;
$custom-light: #8469c0;
$custom-dark: #000000;
JSON
{
  "hex": "#462ea4",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 252.203,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.17825,
    "h": 284.6
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#462EA4
secondary
#AFC06E
accent
#DF48C1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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