#462B83#462B83

#462B83 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.140 H 292.4°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#462B83
RGBrgb(70, 43, 131)
HSLhsl(258, 51%, 34%)
HSVhsv(258, 67%, 51%)
CMYKcmyk(46.6%, 67.2%, 0%, 48.6%)
CIE-LABlab(25.77, 34.28, -45.30)
CIE-LCHlch(25.77, 56.81, 307.12°)
OKLaboklab(37.49% 0.0535 -0.1295)
OKLCHoklch(37.49% 0.14 292.4)
XYZxyz(7.4853, 4.6683, 21.9750)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B83 #68832B
analogous
#2B3C83 #462B83 #722B83
triadic
#462B83 #83462B #2B8346
tetradic
#462B83 #832B3C #68832B #2B8372
square
#462B83 #832B3C #68832B #2B8372
split-complementary
#462B83 #83722B #3C832B
monochromatic
#150D27 #2D1C55 #462B83 #5F3AB1 #7F5ECA

Accessibility & contrast

On white

10.86
#462B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462B83
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B83#FFFFFF#000000##FFFFFF
##462B831.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#344053
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462b83;
/* rgb */ color: rgb(70, 43, 131);
/* oklch */ color: oklch(37.5% 0.140 292.4);
Tailwind
colors: {
  custom: {
    50: '#7f66a8',
    500: '#462b83',
    950: '#000000',
  },
}
SCSS
$custom: #462b83;
$custom-light: #7f66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462b83",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 258.409,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37488,
    "c": 0.14014,
    "h": 292.4
  },
  "luminance": 0.04669
}

Semantic roles & 50–950 ramp

primary
#462B83
secondary
#96B05A
accent
#DA4EAF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462B83

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

Preview Lab → · Contrast checker → · Palette generator →

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