#462BA0#462BA0

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

Color values

HEX#462BA0
RGBrgb(70, 43, 160)
HSLhsl(254, 58%, 40%)
HSVhsv(254, 73%, 63%)
CMYKcmyk(56.3%, 73.1%, 0%, 37.3%)
CIE-LABlab(28.29, 43.00, -59.07)
CIE-LCHlch(28.29, 73.06, 306.05°)
OKLaboklab(40.08% 0.0483 -0.17)
OKLCHoklch(40.08% 0.177 285.9)
XYZxyz(9.7329, 5.5674, 33.8126)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BA0 #85A02B
analogous
#2B4BA0 #462BA0 #802BA0
triadic
#462BA0 #A0462B #2BA046
tetradic
#462BA0 #A02B4B #85A02B #2BA080
square
#462BA0 #A02B4B #85A02B #2BA080
split-complementary
#462BA0 #A0802B #4BA02B
monochromatic
#1C1140 #311E70 #462BA0 #5E3DCB #866ED8

Accessibility & contrast

On white

9.94
#462BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462BA0
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BA0#FFFFFF#000000##FFFFFF
##462BA01.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#1D4B63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462ba0;
/* rgb */ color: rgb(70, 43, 160);
/* oklch */ color: oklch(40.1% 0.177 285.9);
Tailwind
colors: {
  custom: {
    50: '#8367bd',
    500: '#462ba0',
    950: '#000000',
  },
}
SCSS
$custom: #462ba0;
$custom-light: #8367bd;
$custom-dark: #000000;
JSON
{
  "hex": "#462ba0",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 253.846,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.1767,
    "h": 285.9
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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