#462AA3#462AA3

#462AA3 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.181 H 285.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#462AA3
RGBrgb(70, 42, 163)
HSLhsl(254, 59%, 40%)
HSVhsv(254, 74%, 64%)
CMYKcmyk(57.1%, 74.2%, 0%, 36.1%)
CIE-LABlab(28.38, 44.43, -60.74)
CIE-LCHlch(28.38, 75.26, 306.19°)
OKLaboklab(40.23% 0.0485 -0.1748)
OKLCHoklch(40.23% 0.181 285.5)
XYZxyz(9.9626, 5.6018, 35.1995)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AA3 #87A32A
analogous
#2A4BA3 #462AA3 #822AA3
triadic
#462AA3 #A3462A #2AA346
tetradic
#462AA3 #A32A4B #87A32A #2AA382
square
#462AA3 #A32A4B #87A32A #2AA382
split-complementary
#462AA3 #A3822A #4BA32A
monochromatic
#1C1142 #311D72 #462AA3 #5E3DCD #876EDA

Accessibility & contrast

On white

9.90
#462AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#462AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AA3
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AA3#FFFFFF#000000##FFFFFF
##462AA31.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#194B64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462aa3;
/* rgb */ color: rgb(70, 42, 163);
/* oklch */ color: oklch(40.2% 0.181 285.5);
Tailwind
colors: {
  custom: {
    50: '#8467bf',
    500: '#462aa3',
    950: '#000000',
  },
}
SCSS
$custom: #462aa3;
$custom-light: #8467bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462aa3",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 253.884,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40226,
    "c": 0.18143,
    "h": 285.5
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#462AA3
secondary
#ACC068
accent
#E246BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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