#462B82#462B82

#462B82 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.139 H 292.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#462B82
RGBrgb(70, 43, 130)
HSLhsl(259, 50%, 34%)
HSVhsv(259, 67%, 51%)
CMYKcmyk(46.2%, 66.9%, 0%, 49%)
CIE-LABlab(25.69, 33.99, -44.80)
CIE-LCHlch(25.69, 56.24, 307.18°)
OKLaboklab(37.4% 0.0536 -0.1281)
OKLCHoklch(37.4% 0.139 292.7)
XYZxyz(7.4178, 4.6413, 21.6198)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B82 #67822B
analogous
#2B3C82 #462B82 #722B82
triadic
#462B82 #82462B #2B8246
tetradic
#462B82 #822B3C #67822B #2B8272
square
#462B82 #822B3C #67822B #2B8272
split-complementary
#462B82 #82722B #3C822B
monochromatic
#140D26 #2D1C54 #462B82 #5F3AB0 #7F5ECA

Accessibility & contrast

On white

10.89
#462B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B82
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B82#FFFFFF#000000##FFFFFF
##462B821.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#354052
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462b82;
/* rgb */ color: rgb(70, 43, 130);
/* oklch */ color: oklch(37.4% 0.139 292.7);
Tailwind
colors: {
  custom: {
    50: '#7f66a7',
    500: '#462b82',
    950: '#000000',
  },
}
SCSS
$custom: #462b82;
$custom-light: #7f66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#462b82",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 258.621,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.13884,
    "h": 292.7
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#462B82
secondary
#95B059
accent
#DA4EAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462B82

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

Preview Lab → · Contrast checker → · Palette generator →

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