#462B8D#462B8D

#462B8D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.153 H 289.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#462B8D
RGBrgb(70, 43, 141)
HSLhsl(257, 53%, 36%)
HSVhsv(257, 70%, 55%)
CMYKcmyk(50.4%, 69.5%, 0%, 44.7%)
CIE-LABlab(26.60, 37.28, -50.18)
CIE-LCHlch(26.60, 62.51, 306.61°)
OKLaboklab(38.35% 0.052 -0.1439)
OKLCHoklch(38.35% 0.153 289.9)
XYZxyz(8.1960, 4.9526, 25.7182)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B8D #728D2B
analogous
#2B418D #462B8D #772B8D
triadic
#462B8D #8D462B #2B8D46
tetradic
#462B8D #8D2B41 #728D2B #2B8D77
square
#462B8D #8D2B41 #728D2B #2B8D77
split-complementary
#462B8D #8D772B #418D2B
monochromatic
#170E2F #2F1D5E #462B8D #5D39BC #8163CF

Accessibility & contrast

On white

10.55
#462B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#462B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B8D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B8D#FFFFFF#000000##FFFFFF
##462B8D1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#2E4458
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462b8d;
/* rgb */ color: rgb(70, 43, 141);
/* oklch */ color: oklch(38.3% 0.153 289.9);
Tailwind
colors: {
  custom: {
    50: '#8066af',
    500: '#462b8d',
    950: '#000000',
  },
}
SCSS
$custom: #462b8d;
$custom-light: #8066af;
$custom-dark: #000000;
JSON
{
  "hex": "#462b8d",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 256.531,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.15301,
    "h": 289.9
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#462B8D
secondary
#9EB65E
accent
#DD4BB5
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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