#462A90#462A90

#462A90 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.158 H 289.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#462A90
RGBrgb(70, 42, 144)
HSLhsl(256, 55%, 36%)
HSVhsv(256, 71%, 56%)
CMYKcmyk(51.4%, 70.8%, 0%, 43.5%)
CIE-LABlab(26.65, 38.75, -51.95)
CIE-LCHlch(26.65, 64.81, 306.72°)
OKLaboklab(38.46% 0.0525 -0.1491)
OKLCHoklch(38.46% 0.158 289.4)
XYZxyz(8.3863, 4.9713, 26.8978)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A90 #74902A
analogous
#2A4190 #462A90 #792A90
triadic
#462A90 #90462A #2A9046
tetradic
#462A90 #902A41 #74902A #2A9079
square
#462A90 #902A41 #74902A #2A9079
split-complementary
#462A90 #90792A #41902A
monochromatic
#180E31 #2F1C61 #462A90 #5D38BF #8163D1

Accessibility & contrast

On white

10.53
#462A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#462A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A90
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A90#FFFFFF#000000##FFFFFF
##462A901.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#2C4459
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #462a90;
/* rgb */ color: rgb(70, 42, 144);
/* oklch */ color: oklch(38.5% 0.158 289.4);
Tailwind
colors: {
  custom: {
    50: '#8166b1',
    500: '#462a90',
    950: '#000000',
  },
}
SCSS
$custom: #462a90;
$custom-light: #8166b1;
$custom-dark: #000000;
JSON
{
  "hex": "#462a90",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 256.471,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.15807,
    "h": 289.4
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#462A90
secondary
#9FB75E
accent
#DE4AB5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462A90

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

Preview Lab → · Contrast checker → · Palette generator →

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