#462EA8#462EA8

#462EA8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.183 H 284.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#462EA8
RGBrgb(70, 46, 168)
HSLhsl(252, 57%, 42%)
HSVhsv(252, 73%, 66%)
CMYKcmyk(58.3%, 72.6%, 0%, 34.1%)
CIE-LABlab(29.62, 43.80, -61.73)
CIE-LCHlch(29.62, 75.69, 305.36°)
OKLaboklab(41.24% 0.0442 -0.1778)
OKLCHoklch(41.24% 0.183 284)
XYZxyz(10.5685, 6.0826, 37.6553)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EA8 #90A82E
analogous
#2E53A8 #462EA8 #832EA8
triadic
#462EA8 #A8462E #2EA846
tetradic
#462EA8 #A82E53 #90A82E #2EA883
square
#462EA8 #A82E53 #90A82E #2EA883
split-complementary
#462EA8 #A8832E #53A82E
monochromatic
#1E1448 #322178 #462EA8 #6147CD #8A77DA

Accessibility & contrast

On white

9.47
#462EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#462EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EA8
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EA8#FFFFFF#000000##FFFFFF
##462EA81.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#0F4F68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462ea8;
/* rgb */ color: rgb(70, 46, 168);
/* oklch */ color: oklch(41.2% 0.183 284.0);
Tailwind
colors: {
  custom: {
    50: '#8569c3',
    500: '#462ea8',
    950: '#000000',
  },
}
SCSS
$custom: #462ea8;
$custom-light: #8569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#462ea8",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 251.803,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41244,
    "c": 0.18318,
    "h": 284
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#462EA8
secondary
#B2C270
accent
#E048C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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