#462A8D#462A8D

#462A8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.154 H 290.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#462A8D
RGBrgb(70, 42, 141)
HSLhsl(257, 54%, 36%)
HSVhsv(257, 70%, 55%)
CMYKcmyk(50.4%, 70.2%, 0%, 44.7%)
CIE-LABlab(26.39, 37.85, -50.52)
CIE-LCHlch(26.39, 63.13, 306.84°)
OKLaboklab(38.2% 0.0531 -0.1449)
OKLCHoklch(38.2% 0.154 290.1)
XYZxyz(8.1601, 4.8808, 25.7063)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A8D #718D2A
analogous
#2A3F8D #462A8D #772A8D
triadic
#462A8D #8D462A #2A8D46
tetradic
#462A8D #8D2A3F #718D2A #2A8D77
square
#462A8D #8D2A3F #718D2A #2A8D77
split-complementary
#462A8D #8D772A #3F8D2A
monochromatic
#170E2F #2F1C5E #462A8D #5D38BC #8161D0

Accessibility & contrast

On white

10.63
#462A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#462A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A8D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A8D#FFFFFF#000000##FFFFFF
##462A8D1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#2E4358
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462a8d;
/* rgb */ color: rgb(70, 42, 141);
/* oklch */ color: oklch(38.2% 0.154 290.1);
Tailwind
colors: {
  custom: {
    50: '#8066af',
    500: '#462a8d',
    950: '#000000',
  },
}
SCSS
$custom: #462a8d;
$custom-light: #8066af;
$custom-dark: #000000;
JSON
{
  "hex": "#462a8d",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 256.97,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.15429,
    "h": 290.1
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#462A8D
secondary
#9DB65D
accent
#DD4AB4
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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