#462585#462585

#462585 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.151 H 293.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#462585
RGBrgb(70, 37, 133)
HSLhsl(261, 56%, 33%)
HSVhsv(261, 72%, 52%)
CMYKcmyk(47.4%, 72.2%, 0%, 47.8%)
CIE-LABlab(24.70, 38.27, -48.30)
CIE-LCHlch(24.70, 61.62, 308.39°)
OKLaboklab(36.77% 0.0596 -0.1383)
OKLCHoklch(36.77% 0.151 293.3)
XYZxyz(7.4198, 4.3185, 22.6284)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462585 #648525
analogous
#253485 #462585 #762585
triadic
#462585 #854625 #258546
tetradic
#462585 #852534 #648525 #258576
square
#462585 #852534 #648525 #258576
split-complementary
#462585 #857625 #348525
monochromatic
#140A25 #2D1855 #462585 #5F32B5 #7F55D0

Accessibility & contrast

On white

11.27
#462585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#462585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462585
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462585#FFFFFF#000000##FFFFFF
##4625851.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#333D52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #462585;
/* rgb */ color: rgb(70, 37, 133);
/* oklch */ color: oklch(36.8% 0.151 293.3);
Tailwind
colors: {
  custom: {
    50: '#8062a9',
    500: '#462585',
    950: '#000000',
  },
}
SCSS
$custom: #462585;
$custom-light: #8062a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462585",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 260.625,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36772,
    "c": 0.15063,
    "h": 293.3
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#462585
secondary
#92B452
accent
#E048AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462585

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

Preview Lab → · Contrast checker → · Palette generator →

#462585 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva