#462D90#462D90

#462D90 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.154 H 288.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#462D90
RGBrgb(70, 45, 144)
HSLhsl(255, 52%, 37%)
HSVhsv(255, 69%, 56%)
CMYKcmyk(51.4%, 68.7%, 0%, 43.5%)
CIE-LABlab(27.28, 37.04, -50.94)
CIE-LCHlch(27.28, 62.98, 306.02°)
OKLaboklab(38.91% 0.0495 -0.1461)
OKLCHoklch(38.91% 0.154 288.7)
XYZxyz(8.4968, 5.1921, 26.9346)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D90 #77902D
analogous
#2D4590 #462D90 #782D90
triadic
#462D90 #90462D #2D9046
tetradic
#462D90 #902D45 #77902D #2D9078
square
#462D90 #902D45 #77902D #2D9078
split-complementary
#462D90 #90782D #45902D
monochromatic
#191033 #2F1E61 #462D90 #5D3CBF #8268D0

Accessibility & contrast

On white

10.30
#462D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462D90
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D90#FFFFFF#000000##FFFFFF
##462D901.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#2C465A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462d90;
/* rgb */ color: rgb(70, 45, 144);
/* oklch */ color: oklch(38.9% 0.154 288.7);
Tailwind
colors: {
  custom: {
    50: '#8168b1',
    500: '#462d90',
    950: '#000000',
  },
}
SCSS
$custom: #462d90;
$custom-light: #8168b1;
$custom-dark: #000000;
JSON
{
  "hex": "#462d90",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 255.152,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.15428,
    "h": 288.7
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#462D90
secondary
#A1B662
accent
#DC4CB7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462D90

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

Preview Lab → · Contrast checker → · Palette generator →

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