#462B8A#462B8A

#462B8A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.149 H 290.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#462B8A
RGBrgb(70, 43, 138)
HSLhsl(257, 52%, 35%)
HSVhsv(257, 69%, 54%)
CMYKcmyk(49.3%, 68.8%, 0%, 45.9%)
CIE-LABlab(26.35, 36.38, -48.73)
CIE-LCHlch(26.35, 60.81, 306.74°)
OKLaboklab(38.08% 0.0525 -0.1396)
OKLCHoklch(38.08% 0.149 290.6)
XYZxyz(7.9758, 4.8645, 24.5585)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B8A #6F8A2B
analogous
#2B3F8A #462B8A #752B8A
triadic
#462B8A #8A462B #2B8A46
tetradic
#462B8A #8A2B3F #6F8A2B #2B8A75
square
#462B8A #8A2B3F #6F8A2B #2B8A75
split-complementary
#462B8A #8A752B #3F8A2B
monochromatic
#170E2D #2E1C5B #462B8A #5E3AB9 #8061CE

Accessibility & contrast

On white

10.64
#462B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#462B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B8A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B8A#FFFFFF#000000##FFFFFF
##462B8A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#304257
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462b8a;
/* rgb */ color: rgb(70, 43, 138);
/* oklch */ color: oklch(38.1% 0.149 290.6);
Tailwind
colors: {
  custom: {
    50: '#8066ad',
    500: '#462b8a',
    950: '#000000',
  },
}
SCSS
$custom: #462b8a;
$custom-light: #8066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#462b8a",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 257.053,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.14919,
    "h": 290.6
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#462B8A
secondary
#9BB45D
accent
#DC4CB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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