#462C98#462C98

#462C98 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.166 H 287.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#462C98
RGBrgb(70, 44, 152)
HSLhsl(254, 55%, 38%)
HSVhsv(254, 71%, 60%)
CMYKcmyk(53.9%, 71.1%, 0%, 40.4%)
CIE-LABlab(27.76, 40.04, -55.06)
CIE-LCHlch(27.76, 68.07, 306.02°)
OKLaboklab(39.48% 0.0491 -0.1582)
OKLCHoklch(39.48% 0.166 287.2)
XYZxyz(9.0923, 5.3700, 30.2571)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C98 #7E982C
analogous
#2C4898 #462C98 #7C2C98
triadic
#462C98 #98462C #2C9846
tetradic
#462C98 #982C48 #7E982C #2C987C
square
#462C98 #982C48 #7E982C #2C987C
split-complementary
#462C98 #987C2C #48982C
monochromatic
#1A1139 #301E69 #462C98 #5C3BC6 #846AD4

Accessibility & contrast

On white

10.13
#462C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462C98
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C98#FFFFFF#000000##FFFFFF
##462C981.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#25485E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #462c98;
/* rgb */ color: rgb(70, 44, 152);
/* oklch */ color: oklch(39.5% 0.166 287.2);
Tailwind
colors: {
  custom: {
    50: '#8267b7',
    500: '#462c98',
    950: '#000000',
  },
}
SCSS
$custom: #462c98;
$custom-light: #8267b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462c98",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 254.444,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.16566,
    "h": 287.2
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#462C98
secondary
#A6BB65
accent
#DE49BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462C98

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

Preview Lab → · Contrast checker → · Palette generator →

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