#462EA5#462EA5

#462EA5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.179 H 284.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#462EA5
RGBrgb(70, 46, 165)
HSLhsl(252, 56%, 41%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(57.6%, 72.1%, 0%, 35.3%)
CIE-LABlab(29.34, 42.88, -60.38)
CIE-LCHlch(29.34, 74.05, 305.38°)
OKLaboklab(40.96% 0.0448 -0.1738)
OKLCHoklch(40.96% 0.179 284.5)
XYZxyz(10.2922, 5.9721, 36.2004)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EA5 #8DA52E
analogous
#2E52A5 #462EA5 #822EA5
triadic
#462EA5 #A5462E #2EA546
tetradic
#462EA5 #A52E52 #8DA52E #2EA582
square
#462EA5 #A52E52 #8DA52E #2EA582
split-complementary
#462EA5 #A5822E #52A52E
monochromatic
#1D1345 #322175 #462EA5 #6045CB #8975D8

Accessibility & contrast

On white

9.57
#462EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462EA5
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EA5#FFFFFF#000000##FFFFFF
##462EA51.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#154E66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462ea5;
/* rgb */ color: rgb(70, 46, 165);
/* oklch */ color: oklch(41.0% 0.179 284.5);
Tailwind
colors: {
  custom: {
    50: '#8469c1',
    500: '#462ea5',
    950: '#000000',
  },
}
SCSS
$custom: #462ea5;
$custom-light: #8469c1;
$custom-dark: #000000;
JSON
{
  "hex": "#462ea5",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 252.101,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40962,
    "c": 0.17949,
    "h": 284.5
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#462EA5
secondary
#B0C06F
accent
#E048C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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