#462291#462291

#462291 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.169 H 290.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#462291
RGBrgb(70, 34, 145)
HSLhsl(259, 62%, 35%)
HSVhsv(259, 77%, 57%)
CMYKcmyk(51.7%, 76.6%, 0%, 43.1%)
CIE-LABlab(25.23, 43.28, -54.90)
CIE-LCHlch(25.23, 69.91, 308.25°)
OKLaboklab(37.48% 0.0596 -0.1577)
OKLCHoklch(37.48% 0.169 290.7)
XYZxyz(8.2072, 4.4901, 27.2168)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462291 #6D9122
analogous
#223691 #462291 #7D2291
triadic
#462291 #914622 #229146
tetradic
#462291 #912236 #6D9122 #22917D
square
#462291 #912236 #6D9122 #22917D
split-complementary
#462291 #917D22 #369122
monochromatic
#160B2E #2E165F #462291 #5E2EC3 #8056D7

Accessibility & contrast

On white

11.06
#462291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#462291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462291
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462291#FFFFFF#000000##FFFFFF
##4622911.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#2C4058
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462291;
/* rgb */ color: rgb(70, 34, 145);
/* oklch */ color: oklch(37.5% 0.169 290.7);
Tailwind
colors: {
  custom: {
    50: '#8261b2',
    500: '#462291',
    950: '#000000',
  },
}
SCSS
$custom: #462291;
$custom-light: #8261b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462291",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 259.459,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37484,
    "c": 0.16856,
    "h": 290.7
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#462291
secondary
#9ABB53
accent
#E543B0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #462291

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

Preview Lab → · Contrast checker → · Palette generator →

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