#462EB5#462EB5

#462EB5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.199 H 282.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#462EB5
RGBrgb(70, 46, 181)
HSLhsl(251, 59%, 45%)
HSVhsv(251, 75%, 71%)
CMYKcmyk(61.3%, 74.6%, 0%, 29%)
CIE-LABlab(30.86, 47.74, -67.47)
CIE-LCHlch(30.86, 82.65, 305.28°)
OKLaboklab(42.5% 0.0412 -0.1946)
OKLCHoklch(42.5% 0.199 282)
XYZxyz(11.8407, 6.5914, 44.3554)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EB5 #9DB52E
analogous
#2E59B5 #462EB5 #8A2EB5
triadic
#462EB5 #B5462E #2EB546
tetradic
#462EB5 #B52E59 #9DB52E #2EB58A
square
#462EB5 #B52E59 #9DB52E #2EB58A
split-complementary
#462EB5 #B58A2E #59B52E
monochromatic
#201553 #332284 #462EB5 #664ED2 #907FDE

Accessibility & contrast

On white

9.06
#462EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#462EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EB5
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EB5#FFFFFF#000000##FFFFFF
##462EB51.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462eb5;
/* rgb */ color: rgb(70, 46, 181);
/* oklch */ color: oklch(42.5% 0.199 282.0);
Tailwind
colors: {
  custom: {
    50: '#876acc',
    500: '#462eb5',
    950: '#000000',
  },
}
SCSS
$custom: #462eb5;
$custom-light: #876acc;
$custom-dark: #000000;
JSON
{
  "hex": "#462eb5",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 250.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.19888,
    "h": 282
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#462EB5
secondary
#B9C778
accent
#E345C7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #462EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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