#462AB9#462AB9

#462AB9 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.4% C 0.207 H 281.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#462AB9
RGBrgb(70, 42, 185)
HSLhsl(252, 63%, 45%)
HSVhsv(252, 77%, 73%)
CMYKcmyk(62.2%, 77.3%, 0%, 27.5%)
CIE-LABlab(30.54, 50.96, -70.36)
CIE-LCHlch(30.54, 86.88, 305.91°)
OKLaboklab(42.4% 0.0428 -0.203)
OKLCHoklch(42.4% 0.207 281.9)
XYZxyz(12.1080, 6.4599, 46.4984)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AB9 #9DB92A
analogous
#2A56B9 #462AB9 #8E2AB9
triadic
#462AB9 #B9462A #2AB946
tetradic
#462AB9 #B92A56 #9DB92A #2AB98E
square
#462AB9 #B92A56 #9DB92A #2AB98E
split-complementary
#462AB9 #B98E2A #56B92A
monochromatic
#201355 #331F87 #462AB9 #664AD6 #907CE1

Accessibility & contrast

On white

9.16
#462AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462AB9
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AB9#FFFFFF#000000##FFFFFF
##462AB91.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462ab9;
/* rgb */ color: rgb(70, 42, 185);
/* oklch */ color: oklch(42.4% 0.207 281.9);
Tailwind
colors: {
  custom: {
    50: '#8868cf',
    500: '#462ab9',
    950: '#000000',
  },
}
SCSS
$custom: #462ab9;
$custom-light: #8868cf;
$custom-dark: #000000;
JSON
{
  "hex": "#462ab9",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 251.748,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.20743,
    "h": 281.9
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#462AB9
secondary
#B9CA75
accent
#E642C6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #462AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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