#462FA9#462FA9

#462FA9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.183 H 283.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#462FA9
RGBrgb(70, 47, 169)
HSLhsl(251, 56%, 42%)
HSVhsv(251, 72%, 66%)
CMYKcmyk(58.6%, 72.2%, 0%, 33.7%)
CIE-LABlab(29.91, 43.55, -61.86)
CIE-LCHlch(29.91, 75.65, 305.15°)
OKLaboklab(41.48% 0.0432 -0.1781)
OKLCHoklch(41.48% 0.183 283.6)
XYZxyz(10.7015, 6.1990, 38.1610)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FA9 #92A92F
analogous
#2F55A9 #462FA9 #832FA9
triadic
#462FA9 #A9462F #2FA946
tetradic
#462FA9 #A92F55 #92A92F #2FA983
square
#462FA9 #A92F55 #92A92F #2FA983
split-complementary
#462FA9 #A9832F #55A92F
monochromatic
#1E1449 #322279 #462FA9 #6249CC #8B79DA

Accessibility & contrast

On white

9.38
#462FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#462FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FA9
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FA9#FFFFFF#000000##FFFFFF
##462FA91.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#0C5069
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462fa9;
/* rgb */ color: rgb(70, 47, 169);
/* oklch */ color: oklch(41.5% 0.183 283.6);
Tailwind
colors: {
  custom: {
    50: '#856ac4',
    500: '#462fa9',
    950: '#000000',
  },
}
SCSS
$custom: #462fa9;
$custom-light: #856ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#462fa9",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 251.311,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.1833,
    "h": 283.6
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#462FA9
secondary
#B3C272
accent
#E048C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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