#462D91#462D91

#462D91 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.156 H 288.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#462D91
RGBrgb(70, 45, 145)
HSLhsl(255, 53%, 37%)
HSVhsv(255, 69%, 57%)
CMYKcmyk(51.7%, 69%, 0%, 43.1%)
CIE-LABlab(27.36, 37.34, -51.41)
CIE-LCHlch(27.36, 63.54, 305.99°)
OKLaboklab(39% 0.0494 -0.1475)
OKLCHoklch(39% 0.156 288.5)
XYZxyz(8.5735, 5.2228, 27.3389)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D91 #78912D
analogous
#2D4691 #462D91 #782D91
triadic
#462D91 #91462D #2D9146
tetradic
#462D91 #912D46 #78912D #2D9178
square
#462D91 #912D46 #78912D #2D9178
split-complementary
#462D91 #91782D #46912D
monochromatic
#191034 #2F1F62 #462D91 #5D3BC0 #8268D0

Accessibility & contrast

On white

10.27
#462D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#462D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D91
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D91#FFFFFF#000000##FFFFFF
##462D911.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#2B465B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462d91;
/* rgb */ color: rgb(70, 45, 145);
/* oklch */ color: oklch(39.0% 0.156 288.5);
Tailwind
colors: {
  custom: {
    50: '#8168b2',
    500: '#462d91',
    950: '#000000',
  },
}
SCSS
$custom: #462d91;
$custom-light: #8168b2;
$custom-dark: #000000;
JSON
{
  "hex": "#462d91",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 255,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.15557,
    "h": 288.5
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462D91

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

Preview Lab → · Contrast checker → · Palette generator →

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