#462EA6#462EA6

#462EA6 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.181 H 284.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#462EA6
RGBrgb(70, 46, 166)
HSLhsl(252, 57%, 42%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(57.8%, 72.3%, 0%, 34.9%)
CIE-LABlab(29.43, 43.19, -60.83)
CIE-LCHlch(29.43, 74.60, 305.37°)
OKLaboklab(41.06% 0.0446 -0.1751)
OKLCHoklch(41.06% 0.181 284.3)
XYZxyz(10.3836, 6.0086, 36.6816)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EA6 #8EA62E
analogous
#2E52A6 #462EA6 #822EA6
triadic
#462EA6 #A6462E #2EA646
tetradic
#462EA6 #A62E52 #8EA62E #2EA682
square
#462EA6 #A62E52 #8EA62E #2EA682
split-complementary
#462EA6 #A6822E #52A62E
monochromatic
#1E1346 #322176 #462EA6 #6046CC #8976D9

Accessibility & contrast

On white

9.54
#462EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#462EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EA6
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EA6#FFFFFF#000000##FFFFFF
##462EA61.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#134E67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462ea6;
/* rgb */ color: rgb(70, 46, 166);
/* oklch */ color: oklch(41.1% 0.181 284.3);
Tailwind
colors: {
  custom: {
    50: '#8469c1',
    500: '#462ea6',
    950: '#000000',
  },
}
SCSS
$custom: #462ea6;
$custom-light: #8469c1;
$custom-dark: #000000;
JSON
{
  "hex": "#462ea6",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 252,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.18072,
    "h": 284.3
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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