#462C90#462C90

#462C90 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.156 H 289.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#462C90
RGBrgb(70, 44, 144)
HSLhsl(256, 53%, 37%)
HSVhsv(256, 69%, 56%)
CMYKcmyk(51.4%, 69.4%, 0%, 43.5%)
CIE-LABlab(27.06, 37.61, -51.28)
CIE-LCHlch(27.06, 63.60, 306.26°)
OKLaboklab(38.76% 0.0505 -0.1471)
OKLCHoklch(38.76% 0.156 289)
XYZxyz(8.4591, 5.1167, 26.9221)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C90 #76902C
analogous
#2C4490 #462C90 #782C90
triadic
#462C90 #90462C #2C9046
tetradic
#462C90 #902C44 #76902C #2C9078
square
#462C90 #902C44 #76902C #2C9078
split-complementary
#462C90 #90782C #44902C
monochromatic
#180F32 #2F1E61 #462C90 #5D3ABF #8266D0

Accessibility & contrast

On white

10.38
#462C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#462C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C90
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C90#FFFFFF#000000##FFFFFF
##462C901.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#2C455A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462c90;
/* rgb */ color: rgb(70, 44, 144);
/* oklch */ color: oklch(38.8% 0.156 289.0);
Tailwind
colors: {
  custom: {
    50: '#8167b1',
    500: '#462c90',
    950: '#000000',
  },
}
SCSS
$custom: #462c90;
$custom-light: #8167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#462c90",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 255.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.15556,
    "h": 289
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#462C90
secondary
#A0B761
accent
#DD4BB7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462C90

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

Preview Lab → · Contrast checker → · Palette generator →

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