#462481#462481

#462481 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.147 H 294.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#462481
RGBrgb(70, 36, 129)
HSLhsl(262, 56%, 32%)
HSVhsv(262, 72%, 51%)
CMYKcmyk(45.7%, 72.1%, 0%, 49.4%)
CIE-LABlab(24.16, 37.66, -46.67)
CIE-LCHlch(24.16, 59.97, 308.91°)
OKLaboklab(36.28% 0.0614 -0.1335)
OKLCHoklch(36.28% 0.147 294.7)
XYZxyz(7.1180, 4.1486, 21.1904)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462481 #5F8124
analogous
#243181 #462481 #742481
triadic
#462481 #814624 #248146
tetradic
#462481 #812431 #5F8124 #248174
square
#462481 #812431 #5F8124 #248174
split-complementary
#462481 #817424 #318124
monochromatic
#120921 #2C1751 #462481 #6031B1 #7F51CE

Accessibility & contrast

On white

11.48
#462481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#462481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462481
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462481#FFFFFF#000000##FFFFFF
##4624811.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#363B50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462481;
/* rgb */ color: rgb(70, 36, 129);
/* oklch */ color: oklch(36.3% 0.147 294.7);
Tailwind
colors: {
  custom: {
    50: '#7f62a6',
    500: '#462481',
    950: '#000000',
  },
}
SCSS
$custom: #462481;
$custom-light: #7f62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#462481",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 261.935,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.14698,
    "h": 294.7
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#462481
secondary
#8EB24E
accent
#E048A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #462481

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

Preview Lab → · Contrast checker → · Palette generator →

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