#462492#462492

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

Color values

HEX#462492
RGBrgb(70, 36, 146)
HSLhsl(259, 60%, 36%)
HSVhsv(259, 75%, 57%)
CMYKcmyk(52.1%, 75.3%, 0%, 42.7%)
CIE-LABlab(25.68, 42.56, -54.78)
CIE-LCHlch(25.68, 69.37, 307.84°)
OKLaboklab(37.83% 0.0576 -0.1573)
OKLCHoklch(37.83% 0.168 290.1)
XYZxyz(8.3435, 4.6388, 27.6443)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462492 #709224
analogous
#243992 #462492 #7D2492
triadic
#462492 #924624 #249246
tetradic
#462492 #922439 #709224 #24927D
square
#462492 #922439 #709224 #24927D
split-complementary
#462492 #927D24 #399224
monochromatic
#170C30 #2E1861 #462492 #5E30C3 #805AD6

Accessibility & contrast

On white

10.89
#462492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462492
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462492#FFFFFF#000000##FFFFFF
##4624921.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#2B4259
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462492;
/* rgb */ color: rgb(70, 36, 146);
/* oklch */ color: oklch(37.8% 0.168 290.1);
Tailwind
colors: {
  custom: {
    50: '#8262b3',
    500: '#462492',
    950: '#000000',
  },
}
SCSS
$custom: #462492;
$custom-light: #8262b3;
$custom-dark: #000000;
JSON
{
  "hex": "#462492",
  "rgb": {
    "r": 70,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 258.545,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37829,
    "c": 0.16756,
    "h": 290.1
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#462492
secondary
#9CBB57
accent
#E444B2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462492

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

Preview Lab → · Contrast checker → · Palette generator →

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