#462A8B#462A8B

#462A8B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.152 H 290.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#462A8B
RGBrgb(70, 42, 139)
HSLhsl(257, 54%, 35%)
HSVhsv(257, 70%, 55%)
CMYKcmyk(49.6%, 69.8%, 0%, 45.5%)
CIE-LABlab(26.22, 37.25, -49.56)
CIE-LCHlch(26.22, 62.00, 306.93°)
OKLaboklab(38.02% 0.0534 -0.1421)
OKLCHoklch(38.02% 0.152 290.6)
XYZxyz(8.0126, 4.8218, 24.9296)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A8B #6F8B2A
analogous
#2A3E8B #462A8B #762A8B
triadic
#462A8B #8B462A #2A8B46
tetradic
#462A8B #8B2A3E #6F8B2A #2A8B76
square
#462A8B #8B2A3E #6F8B2A #2A8B76
split-complementary
#462A8B #8B762A #3E8B2A
monochromatic
#170E2D #2E1C5C #462A8B #5E38BA #8060CF

Accessibility & contrast

On white

10.69
#462A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#462A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A8B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A8B#FFFFFF#000000##FFFFFF
##462A8B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#2F4257
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462a8b;
/* rgb */ color: rgb(70, 42, 139);
/* oklch */ color: oklch(38.0% 0.152 290.6);
Tailwind
colors: {
  custom: {
    50: '#8066ae',
    500: '#462a8b',
    950: '#000000',
  },
}
SCSS
$custom: #462a8b;
$custom-light: #8066ae;
$custom-dark: #000000;
JSON
{
  "hex": "#462a8b",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 257.32,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38021,
    "c": 0.15176,
    "h": 290.6
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#462A8B
secondary
#9BB55C
accent
#DD4BB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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