#462BA3#462BA3

#462BA3 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.180 H 285.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#462BA3
RGBrgb(70, 43, 163)
HSLhsl(254, 58%, 40%)
HSVhsv(254, 74%, 64%)
CMYKcmyk(57.1%, 73.6%, 0%, 36.1%)
CIE-LABlab(28.57, 43.90, -60.43)
CIE-LCHlch(28.57, 74.69, 306.00°)
OKLaboklab(40.36% 0.0477 -0.1739)
OKLCHoklch(40.36% 0.18 285.3)
XYZxyz(9.9985, 5.6736, 35.2115)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BA3 #88A32B
analogous
#2B4CA3 #462BA3 #822BA3
triadic
#462BA3 #A3462B #2BA346
tetradic
#462BA3 #A32B4C #88A32B #2BA382
square
#462BA3 #A32B4C #88A32B #2BA382
split-complementary
#462BA3 #A3822B #4CA32B
monochromatic
#1C1142 #311E73 #462BA3 #5F3FCC #876FD9

Accessibility & contrast

On white

9.84
#462BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#462BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BA3
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BA3#FFFFFF#000000##FFFFFF
##462BA31.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#194C64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462ba3;
/* rgb */ color: rgb(70, 43, 163);
/* oklch */ color: oklch(40.4% 0.180 285.3);
Tailwind
colors: {
  custom: {
    50: '#8467bf',
    500: '#462ba3',
    950: '#000000',
  },
}
SCSS
$custom: #462ba3;
$custom-light: #8467bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462ba3",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 253.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4036,
    "c": 0.18035,
    "h": 285.3
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#462BA3
secondary
#ADC06A
accent
#E146BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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