#462DB9#462DB9

#462DB9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.205 H 281.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#462DB9
RGBrgb(70, 45, 185)
HSLhsl(251, 61%, 45%)
HSVhsv(251, 76%, 73%)
CMYKcmyk(62.2%, 75.7%, 0%, 27.5%)
CIE-LABlab(31.07, 49.46, -69.50)
CIE-LCHlch(31.07, 85.30, 305.44°)
OKLaboklab(42.76% 0.0409 -0.2005)
OKLCHoklch(42.76% 0.205 281.5)
XYZxyz(12.2184, 6.6808, 46.5352)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DB9 #A0B92D
analogous
#2D5AB9 #462DB9 #8C2DB9
triadic
#462DB9 #B9462D #2DB946
tetradic
#462DB9 #B92D5A #A0B92D #2DB98C
square
#462DB9 #B92D5A #A0B92D #2DB98C
split-complementary
#462DB9 #B98C2D #5AB92D
monochromatic
#211557 #332188 #462DB9 #674FD4 #9180E0

Accessibility & contrast

On white

8.99
#462DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#462DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DB9
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DB9#FFFFFF#000000##FFFFFF
##462DB91.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462db9;
/* rgb */ color: rgb(70, 45, 185);
/* oklch */ color: oklch(42.8% 0.205 281.5);
Tailwind
colors: {
  custom: {
    50: '#8869cf',
    500: '#462db9',
    950: '#000000',
  },
}
SCSS
$custom: #462db9;
$custom-light: #8869cf;
$custom-dark: #000000;
JSON
{
  "hex": "#462db9",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 250.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42763,
    "c": 0.2046,
    "h": 281.5
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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