#462B8B#462B8B

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

Color values

HEX#462B8B
RGBrgb(70, 43, 139)
HSLhsl(257, 53%, 36%)
HSVhsv(257, 69%, 55%)
CMYKcmyk(49.6%, 69.1%, 0%, 45.5%)
CIE-LABlab(26.43, 36.68, -49.22)
CIE-LCHlch(26.43, 61.38, 306.69°)
OKLaboklab(38.17% 0.0524 -0.1411)
OKLCHoklch(38.17% 0.15 290.4)
XYZxyz(8.0485, 4.8936, 24.9416)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B8B #708B2B
analogous
#2B408B #462B8B #762B8B
triadic
#462B8B #8B462B #2B8B46
tetradic
#462B8B #8B2B40 #708B2B #2B8B76
square
#462B8B #8B2B40 #708B2B #2B8B76
split-complementary
#462B8B #8B762B #408B2B
monochromatic
#170E2E #2E1D5C #462B8B #5E39BA #8062CE

Accessibility & contrast

On white

10.61
#462B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462B8B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B8B#FFFFFF#000000##FFFFFF
##462B8B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462b8b;
/* rgb */ color: rgb(70, 43, 139);
/* oklch */ color: oklch(38.2% 0.150 290.4);
Tailwind
colors: {
  custom: {
    50: '#8066ae',
    500: '#462b8b',
    950: '#000000',
  },
}
SCSS
$custom: #462b8b;
$custom-light: #8066ae;
$custom-dark: #000000;
JSON
{
  "hex": "#462b8b",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 256.875,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38171,
    "c": 0.15046,
    "h": 290.4
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#462B8B
secondary
#9CB55D
accent
#DC4CB4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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