#462D92#462D92

#462D92 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.157 H 288.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#462D92
RGBrgb(70, 45, 146)
HSLhsl(255, 53%, 37%)
HSVhsv(255, 69%, 57%)
CMYKcmyk(52.1%, 69.2%, 0%, 42.7%)
CIE-LABlab(27.45, 37.65, -51.89)
CIE-LCHlch(27.45, 64.11, 305.96°)
OKLaboklab(39.09% 0.0492 -0.1489)
OKLCHoklch(39.09% 0.157 288.3)
XYZxyz(8.6510, 5.2538, 27.7468)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D92 #79922D
analogous
#2D4792 #462D92 #782D92
triadic
#462D92 #92462D #2D9246
tetradic
#462D92 #922D47 #79922D #2D9278
square
#462D92 #922D47 #79922D #2D9278
split-complementary
#462D92 #92782D #47922D
monochromatic
#191034 #301F63 #462D92 #5C3BC1 #8269D1

Accessibility & contrast

On white

10.24
#462D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#462D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D92
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D92#FFFFFF#000000##FFFFFF
##462D921.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#2A465B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462d92;
/* rgb */ color: rgb(70, 45, 146);
/* oklch */ color: oklch(39.1% 0.157 288.3);
Tailwind
colors: {
  custom: {
    50: '#8168b3',
    500: '#462d92',
    950: '#000000',
  },
}
SCSS
$custom: #462d92;
$custom-light: #8168b3;
$custom-dark: #000000;
JSON
{
  "hex": "#462d92",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 254.851,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.15684,
    "h": 288.3
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#462D92
secondary
#A3B763
accent
#DC4CB8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462D92

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

Preview Lab → · Contrast checker → · Palette generator →

#462D92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva