#462EB4#462EB4

#462EB4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.198 H 282.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#462EB4
RGBrgb(70, 46, 180)
HSLhsl(251, 59%, 44%)
HSVhsv(251, 74%, 71%)
CMYKcmyk(61.1%, 74.4%, 0%, 29.4%)
CIE-LABlab(30.76, 47.44, -67.04)
CIE-LCHlch(30.76, 82.12, 305.29°)
OKLaboklab(42.4% 0.0415 -0.1933)
OKLCHoklch(42.4% 0.198 282.1)
XYZxyz(11.7384, 6.5505, 43.8170)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EB4 #9CB42E
analogous
#2E59B4 #462EB4 #892EB4
triadic
#462EB4 #B4462E #2EB446
tetradic
#462EB4 #B42E59 #9CB42E #2EB489
square
#462EB4 #B42E59 #9CB42E #2EB489
split-complementary
#462EB4 #B4892E #59B42E
monochromatic
#201553 #332283 #462EB4 #654ED2 #8F7EDE

Accessibility & contrast

On white

9.09
#462EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#462EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EB4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EB4#FFFFFF#000000##FFFFFF
##462EB41.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462eb4;
/* rgb */ color: rgb(70, 46, 180);
/* oklch */ color: oklch(42.4% 0.198 282.1);
Tailwind
colors: {
  custom: {
    50: '#876acc',
    500: '#462eb4',
    950: '#000000',
  },
}
SCSS
$custom: #462eb4;
$custom-light: #876acc;
$custom-dark: #000000;
JSON
{
  "hex": "#462eb4",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 250.746,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42398,
    "c": 0.19769,
    "h": 282.1
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#462EB4
secondary
#B8C777
accent
#E245C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #462EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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