#462C9F#462C9F

#462C9F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.174 H 285.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#462C9F
RGBrgb(70, 44, 159)
HSLhsl(254, 57%, 40%)
HSVhsv(254, 72%, 62%)
CMYKcmyk(56%, 72.3%, 0%, 37.6%)
CIE-LABlab(28.40, 42.16, -58.29)
CIE-LCHlch(28.40, 71.94, 305.87°)
OKLaboklab(40.12% 0.0477 -0.1677)
OKLCHoklch(40.12% 0.174 285.9)
XYZxyz(9.6826, 5.6061, 33.3660)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C9F #859F2C
analogous
#2C4C9F #462C9F #7F2C9F
triadic
#462C9F #9F462C #2C9F46
tetradic
#462C9F #9F2C4C #859F2C #2C9F7F
square
#462C9F #9F2C4C #859F2C #2C9F7F
split-complementary
#462C9F #9F7F2C #4C9F2C
monochromatic
#1C113F #311F6F #462C9F #5E3ECA #866ED7

Accessibility & contrast

On white

9.90
#462C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#462C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C9F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C9F#FFFFFF#000000##FFFFFF
##462C9F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#1E4B62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462c9f;
/* rgb */ color: rgb(70, 44, 159);
/* oklch */ color: oklch(40.1% 0.174 285.9);
Tailwind
colors: {
  custom: {
    50: '#8368bc',
    500: '#462c9f',
    950: '#000000',
  },
}
SCSS
$custom: #462c9f;
$custom-light: #8368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#462c9f",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 253.565,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.17435,
    "h": 285.9
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#462C9F
secondary
#ABBE69
accent
#E048BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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