#462489#462489

#462489 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.157 H 292.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#462489
RGBrgb(70, 36, 137)
HSLhsl(260, 58%, 34%)
HSVhsv(260, 74%, 54%)
CMYKcmyk(48.9%, 73.7%, 0%, 46.3%)
CIE-LABlab(24.86, 39.96, -50.54)
CIE-LCHlch(24.86, 64.43, 308.34°)
OKLaboklab(36.99% 0.0597 -0.1449)
OKLCHoklch(36.99% 0.157 292.4)
XYZxyz(7.6708, 4.3697, 24.1013)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462489 #678924
analogous
#243589 #462489 #792489
triadic
#462489 #894624 #248946
tetradic
#462489 #892435 #678924 #248979
square
#462489 #892435 #678924 #248979
split-complementary
#462489 #897924 #358924
monochromatic
#140B28 #2D1759 #462489 #5F31B9 #7F55D2

Accessibility & contrast

On white

11.21
#462489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#462489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462489
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462489#FFFFFF#000000##FFFFFF
##4624891.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#313E54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #462489;
/* rgb */ color: rgb(70, 36, 137);
/* oklch */ color: oklch(37.0% 0.157 292.4);
Tailwind
colors: {
  custom: {
    50: '#8062ac',
    500: '#462489',
    950: '#000000',
  },
}
SCSS
$custom: #462489;
$custom-light: #8062ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462489",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 260.198,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36995,
    "c": 0.15674,
    "h": 292.4
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#462489
secondary
#95B752
accent
#E246AD
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462489

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

Preview Lab → · Contrast checker → · Palette generator →

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