#462B9F#462B9F

#462B9F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.175 H 286.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#462B9F
RGBrgb(70, 43, 159)
HSLhsl(254, 57%, 40%)
HSVhsv(254, 73%, 62%)
CMYKcmyk(56%, 73%, 0%, 37.6%)
CIE-LABlab(28.20, 42.70, -58.61)
CIE-LCHlch(28.20, 72.52, 306.07°)
OKLaboklab(39.98% 0.0486 -0.1686)
OKLCHoklch(39.98% 0.175 286.1)
XYZxyz(9.6458, 5.5325, 33.3538)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B9F #849F2B
analogous
#2B4A9F #462B9F #802B9F
triadic
#462B9F #9F462B #2B9F46
tetradic
#462B9F #9F2B4A #849F2B #2B9F80
square
#462B9F #9F2B4A #849F2B #2B9F80
split-complementary
#462B9F #9F802B #4A9F2B
monochromatic
#1C113F #311E6F #462B9F #5E3DCA #866DD7

Accessibility & contrast

On white

9.97
#462B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#462B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B9F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B9F#FFFFFF#000000##FFFFFF
##462B9F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#1E4A62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462b9f;
/* rgb */ color: rgb(70, 43, 159);
/* oklch */ color: oklch(40.0% 0.175 286.1);
Tailwind
colors: {
  custom: {
    50: '#8367bc',
    500: '#462b9f',
    950: '#000000',
  },
}
SCSS
$custom: #462b9f;
$custom-light: #8367bc;
$custom-dark: #000000;
JSON
{
  "hex": "#462b9f",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 253.966,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.17548,
    "h": 286.1
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#462B9F
secondary
#AABE67
accent
#E147BD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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