#462CB5#462CB5

#462CB5 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.2% C 0.201 H 282.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#462CB5
RGBrgb(70, 44, 181)
HSLhsl(251, 61%, 44%)
HSVhsv(251, 76%, 71%)
CMYKcmyk(61.3%, 75.7%, 0%, 29%)
CIE-LABlab(30.49, 48.78, -68.07)
CIE-LCHlch(30.49, 83.74, 305.62°)
OKLaboklab(42.24% 0.0426 -0.1963)
OKLCHoklch(42.24% 0.201 282.2)
XYZxyz(11.7644, 6.4388, 44.3300)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CB5 #9BB52C
analogous
#2C57B5 #462CB5 #8B2CB5
triadic
#462CB5 #B5462C #2CB546
tetradic
#462CB5 #B52C57 #9BB52C #2CB58B
square
#462CB5 #B52C57 #9BB52C #2CB58B
split-complementary
#462CB5 #B58B2C #57B52C
monochromatic
#201453 #332084 #462CB5 #654BD3 #8F7CDF

Accessibility & contrast

On white

9.18
#462CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#462CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CB5
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CB5#FFFFFF#000000##FFFFFF
##462CB51.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462cb5;
/* rgb */ color: rgb(70, 44, 181);
/* oklch */ color: oklch(42.2% 0.201 282.2);
Tailwind
colors: {
  custom: {
    50: '#8769cc',
    500: '#462cb5',
    950: '#000000',
  },
}
SCSS
$custom: #462cb5;
$custom-light: #8769cc;
$custom-dark: #000000;
JSON
{
  "hex": "#462cb5",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 251.387,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.20086,
    "h": 282.2
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#462CB5
secondary
#B8C875
accent
#E444C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #462CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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