#462AB6#462AB6

#462AB6 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.1% C 0.204 H 282.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#462AB6
RGBrgb(70, 42, 182)
HSLhsl(252, 63%, 44%)
HSVhsv(252, 77%, 71%)
CMYKcmyk(61.5%, 76.9%, 0%, 28.6%)
CIE-LABlab(30.24, 50.08, -69.08)
CIE-LCHlch(30.24, 85.32, 305.94°)
OKLaboklab(42.09% 0.0436 -0.1992)
OKLCHoklch(42.09% 0.204 282.3)
XYZxyz(11.7946, 6.3346, 44.8481)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AB6 #9AB62A
analogous
#2A54B6 #462AB6 #8C2AB6
triadic
#462AB6 #B6462A #2AB646
tetradic
#462AB6 #B62A54 #9AB62A #2AB68C
square
#462AB6 #B62A54 #9AB62A #2AB68C
split-complementary
#462AB6 #B68C2A #54B62A
monochromatic
#201353 #331F84 #462AB6 #6448D5 #8F7AE0

Accessibility & contrast

On white

9.26
#462AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#462AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AB6
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AB6#FFFFFF#000000##FFFFFF
##462AB61.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462ab6;
/* rgb */ color: rgb(70, 42, 182);
/* oklch */ color: oklch(42.1% 0.204 282.3);
Tailwind
colors: {
  custom: {
    50: '#8768cd',
    500: '#462ab6',
    950: '#000000',
  },
}
SCSS
$custom: #462ab6;
$custom-light: #8768cd;
$custom-dark: #000000;
JSON
{
  "hex": "#462ab6",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 252,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.20395,
    "h": 282.3
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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