#462AB7#462AB7

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

Color values

HEX#462AB7
RGBrgb(70, 42, 183)
HSLhsl(252, 63%, 44%)
HSVhsv(252, 77%, 72%)
CMYKcmyk(61.7%, 77%, 0%, 28.2%)
CIE-LABlab(30.34, 50.37, -69.51)
CIE-LCHlch(30.34, 85.84, 305.93°)
OKLaboklab(42.19% 0.0433 -0.2005)
OKLCHoklch(42.19% 0.205 282.2)
XYZxyz(11.8983, 6.3761, 45.3943)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AB7 #9BB72A
analogous
#2A55B7 #462AB7 #8D2AB7
triadic
#462AB7 #B7462A #2AB746
tetradic
#462AB7 #B72A55 #9BB72A #2AB78D
square
#462AB7 #B72A55 #9BB72A #2AB78D
split-complementary
#462AB7 #B78D2A #55B72A
monochromatic
#201353 #331F85 #462AB7 #6549D5 #8F7BE1

Accessibility & contrast

On white

9.23
#462AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#462AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AB7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AB7#FFFFFF#000000##FFFFFF
##462AB71.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462ab7;
/* rgb */ color: rgb(70, 42, 183);
/* oklch */ color: oklch(42.2% 0.205 282.2);
Tailwind
colors: {
  custom: {
    50: '#8868ce',
    500: '#462ab7',
    950: '#000000',
  },
}
SCSS
$custom: #462ab7;
$custom-light: #8868ce;
$custom-dark: #000000;
JSON
{
  "hex": "#462ab7",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 251.915,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42193,
    "c": 0.20511,
    "h": 282.2
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#462AB7
secondary
#B8C974
accent
#E642C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #462AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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