#462AAB#462AAB

#462AAB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.191 H 284.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#462AAB
RGBrgb(70, 42, 171)
HSLhsl(253, 61%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(59.1%, 75.4%, 0%, 32.9%)
CIE-LABlab(29.15, 46.82, -64.30)
CIE-LCHlch(29.15, 79.54, 306.06°)
OKLaboklab(41% 0.0465 -0.1853)
OKLCHoklch(41% 0.191 284.1)
XYZxyz(10.7022, 5.8976, 39.0946)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AAB #8FAB2A
analogous
#2A4FAB #462AAB #872AAB
triadic
#462AAB #AB462A #2AAB46
tetradic
#462AAB #AB2A4F #8FAB2A #2AAB87
square
#462AAB #AB2A4F #8FAB2A #2AAB87
split-complementary
#462AAB #AB872A #4FAB2A
monochromatic
#1E1249 #321E7A #462AAB #6142D1 #8A73DD

Accessibility & contrast

On white

9.63
#462AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#462AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AAB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AAB#FFFFFF#000000##FFFFFF
##462AAB1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#084E69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462aab;
/* rgb */ color: rgb(70, 42, 171);
/* oklch */ color: oklch(41.0% 0.191 284.1);
Tailwind
colors: {
  custom: {
    50: '#8567c5',
    500: '#462aab',
    950: '#000000',
  },
}
SCSS
$custom: #462aab;
$custom-light: #8567c5;
$custom-dark: #000000;
JSON
{
  "hex": "#462aab",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 253.023,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41001,
    "c": 0.19101,
    "h": 284.1
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#462AAB
secondary
#B1C46D
accent
#E444C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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