#462D83#462D83

#462D83 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.137 H 291.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#462D83
RGBrgb(70, 45, 131)
HSLhsl(257, 49%, 35%)
HSVhsv(257, 66%, 51%)
CMYKcmyk(46.6%, 65.6%, 0%, 48.6%)
CIE-LABlab(26.21, 33.10, -44.59)
CIE-LCHlch(26.21, 55.53, 306.59°)
OKLaboklab(37.81% 0.0512 -0.1274)
OKLCHoklch(37.81% 0.137 291.9)
XYZxyz(7.5598, 4.8173, 21.9998)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D83 #6A832D
analogous
#2D3F83 #462D83 #712D83
triadic
#462D83 #83462D #2D8346
tetradic
#462D83 #832D3F #6A832D #2D8371
square
#462D83 #832D3F #6A832D #2D8371
split-complementary
#462D83 #83712D #3F832D
monochromatic
#150E28 #2E1D55 #462D83 #5E3DB1 #8062C9

Accessibility & contrast

On white

10.69
#462D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#462D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D83
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D83#FFFFFF#000000##FFFFFF
##462D831.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#344153
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462d83;
/* rgb */ color: rgb(70, 45, 131);
/* oklch */ color: oklch(37.8% 0.137 291.9);
Tailwind
colors: {
  custom: {
    50: '#7f67a8',
    500: '#462d83',
    950: '#000000',
  },
}
SCSS
$custom: #462d83;
$custom-light: #7f67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#462d83",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 257.442,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.13734,
    "h": 291.9
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#462D83
secondary
#97AF5C
accent
#D84FB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #462D83

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

Preview Lab → · Contrast checker → · Palette generator →

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