#462AAC#462AAC

#462AAC is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.192 H 283.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#462AAC
RGBrgb(70, 42, 172)
HSLhsl(253, 61%, 42%)
HSVhsv(253, 76%, 67%)
CMYKcmyk(59.3%, 75.6%, 0%, 32.5%)
CIE-LABlab(29.25, 47.12, -64.74)
CIE-LCHlch(29.25, 80.07, 306.05°)
OKLaboklab(41.1% 0.0462 -0.1865)
OKLCHoklch(41.1% 0.192 283.9)
XYZxyz(10.7979, 5.9359, 39.5985)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AAC #90AC2A
analogous
#2A4FAC #462AAC #872AAC
triadic
#462AAC #AC462A #2AAC46
tetradic
#462AAC #AC2A4F #90AC2A #2AAC87
square
#462AAC #AC2A4F #90AC2A #2AAC87
split-complementary
#462AAC #AC872A #4FAC2A
monochromatic
#1E124A #321E7B #462AAC #6142D1 #8A73DD

Accessibility & contrast

On white

9.60
#462AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#462AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AAC
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AAC#FFFFFF#000000##FFFFFF
##462AAC1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#044F69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462aac;
/* rgb */ color: rgb(70, 42, 172);
/* oklch */ color: oklch(41.1% 0.192 283.9);
Tailwind
colors: {
  custom: {
    50: '#8667c6',
    500: '#462aac',
    950: '#000000',
  },
}
SCSS
$custom: #462aac;
$custom-light: #8667c6;
$custom-dark: #000000;
JSON
{
  "hex": "#462aac",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 252.923,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41099,
    "c": 0.1922,
    "h": 283.9
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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