#462294#462294

#462294 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.172 H 290.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#462294
RGBrgb(70, 34, 148)
HSLhsl(259, 63%, 36%)
HSVhsv(259, 77%, 58%)
CMYKcmyk(52.7%, 77%, 0%, 42%)
CIE-LABlab(25.51, 44.14, -56.29)
CIE-LCHlch(25.51, 71.53, 308.10°)
OKLaboklab(37.77% 0.0587 -0.1617)
OKLCHoklch(37.77% 0.172 290)
XYZxyz(8.4416, 4.5839, 28.4512)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462294 #709422
analogous
#223794 #462294 #7F2294
triadic
#462294 #944622 #229446
tetradic
#462294 #942237 #709422 #22947F
square
#462294 #942237 #709422 #22947F
split-complementary
#462294 #947F22 #379422
monochromatic
#170B30 #2E1762 #462294 #5E2DC6 #8058D9

Accessibility & contrast

On white

10.96
#462294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#462294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462294
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462294#FFFFFF#000000##FFFFFF
##4622941.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#2A425A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462294;
/* rgb */ color: rgb(70, 34, 148);
/* oklch */ color: oklch(37.8% 0.172 290.0);
Tailwind
colors: {
  custom: {
    50: '#8261b4',
    500: '#462294',
    950: '#000000',
  },
}
SCSS
$custom: #462294;
$custom-light: #8261b4;
$custom-dark: #000000;
JSON
{
  "hex": "#462294",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 258.947,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.17209,
    "h": 290
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#462294
secondary
#9CBD55
accent
#E642B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #462294

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

Preview Lab → · Contrast checker → · Palette generator →

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