#462DB8#462DB8

#462DB8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.203 H 281.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#462DB8
RGBrgb(70, 45, 184)
HSLhsl(251, 61%, 45%)
HSVhsv(251, 76%, 72%)
CMYKcmyk(62%, 75.5%, 0%, 27.8%)
CIE-LABlab(30.97, 49.16, -69.07)
CIE-LCHlch(30.97, 84.78, 305.44°)
OKLaboklab(42.66% 0.0412 -0.1992)
OKLCHoklch(42.66% 0.203 281.7)
XYZxyz(12.1132, 6.6387, 45.9812)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DB8 #9FB82D
analogous
#2D5AB8 #462DB8 #8B2DB8
triadic
#462DB8 #B8462D #2DB846
tetradic
#462DB8 #B82D5A #9FB82D #2DB88B
square
#462DB8 #B82D5A #9FB82D #2DB88B
split-complementary
#462DB8 #B88B2D #5AB82D
monochromatic
#211556 #332187 #462DB8 #664ED4 #9180E0

Accessibility & contrast

On white

9.02
#462DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#462DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DB8
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DB8#FFFFFF#000000##FFFFFF
##462DB81.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462db8;
/* rgb */ color: rgb(70, 45, 184);
/* oklch */ color: oklch(42.7% 0.203 281.7);
Tailwind
colors: {
  custom: {
    50: '#8869cf',
    500: '#462db8',
    950: '#000000',
  },
}
SCSS
$custom: #462db8;
$custom-light: #8869cf;
$custom-dark: #000000;
JSON
{
  "hex": "#462db8",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 250.791,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42663,
    "c": 0.20343,
    "h": 281.7
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#462DB8
secondary
#BAC978
accent
#E444C7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #462DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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