#462D85#462D85

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

Color values

HEX#462D85
RGBrgb(70, 45, 133)
HSLhsl(257, 49%, 35%)
HSVhsv(257, 66%, 52%)
CMYKcmyk(47.4%, 66.2%, 0%, 47.8%)
CIE-LABlab(26.37, 33.70, -45.58)
CIE-LCHlch(26.37, 56.69, 306.48°)
OKLaboklab(37.97% 0.051 -0.1304)
OKLCHoklch(37.97% 0.14 291.4)
XYZxyz(7.6966, 4.8721, 22.7206)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D85 #6C852D
analogous
#2D4085 #462D85 #722D85
triadic
#462D85 #85462D #2D8546
tetradic
#462D85 #852D40 #6C852D #2D8572
square
#462D85 #852D40 #6C852D #2D8572
split-complementary
#462D85 #85722D #40852D
monochromatic
#160E2A #2E1E57 #462D85 #5E3CB3 #8062CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462D85#FFFFFF#000000##FFFFFF
##462D851.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)
#004088
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#334254
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462d85;
/* rgb */ color: rgb(70, 45, 133);
/* oklch */ color: oklch(38.0% 0.140 291.4);
Tailwind
colors: {
  custom: {
    50: '#7f67a9',
    500: '#462d85',
    950: '#000000',
  },
}
SCSS
$custom: #462d85;
$custom-light: #7f67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462d85",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 257.045,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37971,
    "c": 0.13998,
    "h": 291.4
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#462D85
secondary
#99B05D
accent
#D94FB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462D85

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

Preview Lab → · Contrast checker → · Palette generator →

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