#462ABA#462ABA

#462ABA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.209 H 281.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#462ABA
RGBrgb(70, 42, 186)
HSLhsl(252, 63%, 45%)
HSVhsv(252, 77%, 73%)
CMYKcmyk(62.4%, 77.4%, 0%, 27.1%)
CIE-LABlab(30.65, 51.25, -70.79)
CIE-LCHlch(30.65, 87.39, 305.91°)
OKLaboklab(42.5% 0.0425 -0.2042)
OKLCHoklch(42.5% 0.209 281.8)
XYZxyz(12.2139, 6.5023, 47.0563)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462ABA #9EBA2A
analogous
#2A56BA #462ABA #8E2ABA
triadic
#462ABA #BA462A #2ABA46
tetradic
#462ABA #BA2A56 #9EBA2A #2ABA8E
square
#462ABA #BA2A56 #9EBA2A #2ABA8E
split-complementary
#462ABA #BA8E2A #56BA2A
monochromatic
#201356 #331F88 #462ABA #664BD6 #907DE2

Accessibility & contrast

On white

9.13
#462ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#462ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462ABA
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462ABA#FFFFFF#000000##FFFFFF
##462ABA1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462aba;
/* rgb */ color: rgb(70, 42, 186);
/* oklch */ color: oklch(42.5% 0.209 281.8);
Tailwind
colors: {
  custom: {
    50: '#8868d0',
    500: '#462aba',
    950: '#000000',
  },
}
SCSS
$custom: #462aba;
$custom-light: #8868d0;
$custom-dark: #000000;
JSON
{
  "hex": "#462aba",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 251.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.20859,
    "h": 281.8
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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