#462381#462381

#462381 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.148 H 294.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#462381
RGBrgb(70, 35, 129)
HSLhsl(262, 57%, 32%)
HSVhsv(262, 73%, 51%)
CMYKcmyk(45.7%, 72.9%, 0%, 49.4%)
CIE-LABlab(23.96, 38.20, -46.98)
CIE-LCHlch(23.96, 60.55, 309.12°)
OKLaboklab(36.14% 0.0624 -0.1345)
OKLCHoklch(36.14% 0.148 294.9)
XYZxyz(7.0882, 4.0890, 21.1804)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462381 #5E8123
analogous
#232F81 #462381 #752381
triadic
#462381 #814623 #238146
tetradic
#462381 #81232F #5E8123 #238175
square
#462381 #81232F #5E8123 #238175
split-complementary
#462381 #817523 #2F8123
monochromatic
#120921 #2C1651 #462381 #6030B1 #7F4FCF

Accessibility & contrast

On white

11.55
#462381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#462381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462381
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462381#FFFFFF#000000##FFFFFF
##4623811.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462381;
/* rgb */ color: rgb(70, 35, 129);
/* oklch */ color: oklch(36.1% 0.148 294.9);
Tailwind
colors: {
  custom: {
    50: '#7f61a6',
    500: '#462381',
    950: '#000000',
  },
}
SCSS
$custom: #462381;
$custom-light: #7f61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#462381",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 262.34,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.14825,
    "h": 294.9
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#462381
secondary
#8DB34D
accent
#E147A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #462381

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

Preview Lab → · Contrast checker → · Palette generator →

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