#462292#462292

#462292 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.170 H 290.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#462292
RGBrgb(70, 34, 146)
HSLhsl(259, 62%, 35%)
HSVhsv(259, 77%, 57%)
CMYKcmyk(52.1%, 76.7%, 0%, 42.7%)
CIE-LABlab(25.32, 43.57, -55.36)
CIE-LCHlch(25.32, 70.45, 308.20°)
OKLaboklab(37.58% 0.0593 -0.159)
OKLCHoklch(37.58% 0.17 290.4)
XYZxyz(8.2846, 4.5211, 27.6247)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462292 #6E9222
analogous
#223692 #462292 #7E2292
triadic
#462292 #924622 #229246
tetradic
#462292 #922236 #6E9222 #22927E
square
#462292 #922236 #6E9222 #22927E
split-complementary
#462292 #927E22 #369222
monochromatic
#160B2F #2E1660 #462292 #5E2EC4 #8057D8

Accessibility & contrast

On white

11.03
#462292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462292
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462292#FFFFFF#000000##FFFFFF
##4622921.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#2B4158
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462292;
/* rgb */ color: rgb(70, 34, 146);
/* oklch */ color: oklch(37.6% 0.170 290.4);
Tailwind
colors: {
  custom: {
    50: '#8261b3',
    500: '#462292',
    950: '#000000',
  },
}
SCSS
$custom: #462292;
$custom-light: #8261b3;
$custom-dark: #000000;
JSON
{
  "hex": "#462292",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 259.286,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37579,
    "c": 0.16974,
    "h": 290.4
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#462292
secondary
#9ABC54
accent
#E543B1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #462292

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

Preview Lab → · Contrast checker → · Palette generator →

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