#462C95#462C95

#462C95 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.162 H 287.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#462C95
RGBrgb(70, 44, 149)
HSLhsl(255, 54%, 38%)
HSVhsv(255, 70%, 58%)
CMYKcmyk(53%, 70.5%, 0%, 41.6%)
CIE-LABlab(27.50, 39.13, -53.65)
CIE-LCHlch(27.50, 66.40, 306.10°)
OKLaboklab(39.2% 0.0497 -0.1541)
OKLCHoklch(39.2% 0.162 287.9)
XYZxyz(8.8497, 5.2730, 28.9794)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C95 #7B952C
analogous
#2C4795 #462C95 #7A2C95
triadic
#462C95 #95462C #2C9546
tetradic
#462C95 #952C47 #7B952C #2C957A
square
#462C95 #952C47 #7B952C #2C957A
split-complementary
#462C95 #957A2C #47952C
monochromatic
#1A1037 #301E66 #462C95 #5C3AC4 #8369D3

Accessibility & contrast

On white

10.22
#462C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#462C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C95
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C95#FFFFFF#000000##FFFFFF
##462C951.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#28475D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #462c95;
/* rgb */ color: rgb(70, 44, 149);
/* oklch */ color: oklch(39.2% 0.162 287.9);
Tailwind
colors: {
  custom: {
    50: '#8267b5',
    500: '#462c95',
    950: '#000000',
  },
}
SCSS
$custom: #462c95;
$custom-light: #8267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462c95",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 254.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.16189,
    "h": 287.9
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#462C95
secondary
#A4B964
accent
#DE4AB9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462C95

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

Preview Lab → · Contrast checker → · Palette generator →

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