#462D95#462D95

#462D95 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.161 H 287.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#462D95
RGBrgb(70, 45, 149)
HSLhsl(254, 54%, 38%)
HSVhsv(254, 70%, 58%)
CMYKcmyk(53%, 69.8%, 0%, 41.6%)
CIE-LABlab(27.71, 38.56, -53.31)
CIE-LCHlch(27.71, 65.80, 305.88°)
OKLaboklab(39.35% 0.0487 -0.1531)
OKLCHoklch(39.35% 0.161 287.7)
XYZxyz(8.8874, 5.3484, 28.9920)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D95 #7C952D
analogous
#2D4895 #462D95 #7A2D95
triadic
#462D95 #95462D #2D9546
tetradic
#462D95 #952D48 #7C952D #2D957A
square
#462D95 #952D48 #7C952D #2D957A
split-complementary
#462D95 #957A2D #48952D
monochromatic
#1A1137 #301F66 #462D95 #5C3BC4 #836AD2

Accessibility & contrast

On white

10.15
#462D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#462D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D95
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D95#FFFFFF#000000##FFFFFF
##462D951.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#28485D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462d95;
/* rgb */ color: rgb(70, 45, 149);
/* oklch */ color: oklch(39.4% 0.161 287.7);
Tailwind
colors: {
  custom: {
    50: '#8168b5',
    500: '#462d95',
    950: '#000000',
  },
}
SCSS
$custom: #462d95;
$custom-light: #8168b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462d95",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 254.423,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39352,
    "c": 0.16066,
    "h": 287.7
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#462D95
secondary
#A5B965
accent
#DD4BBA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462D95

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

Preview Lab → · Contrast checker → · Palette generator →

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