#462EB7#462EB7

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

Color values

HEX#462EB7
RGBrgb(70, 46, 183)
HSLhsl(251, 60%, 45%)
HSVhsv(251, 75%, 72%)
CMYKcmyk(61.7%, 74.9%, 0%, 28.2%)
CIE-LABlab(31.05, 48.35, -68.34)
CIE-LCHlch(31.05, 83.71, 305.28°)
OKLaboklab(42.69% 0.0408 -0.1971)
OKLCHoklch(42.69% 0.201 281.7)
XYZxyz(12.0473, 6.6741, 45.4439)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EB7 #9FB72E
analogous
#2E5BB7 #462EB7 #8B2EB7
triadic
#462EB7 #B7462E #2EB746
tetradic
#462EB7 #B72E5B #9FB72E #2EB78B
square
#462EB7 #B72E5B #9FB72E #2EB78B
split-complementary
#462EB7 #B78B2E #5BB72E
monochromatic
#211555 #332286 #462EB7 #664FD3 #9180DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462EB7#FFFFFF#000000##FFFFFF
##462EB71.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)
#004EBB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462eb7;
/* rgb */ color: rgb(70, 46, 183);
/* oklch */ color: oklch(42.7% 0.201 281.7);
Tailwind
colors: {
  custom: {
    50: '#876ace',
    500: '#462eb7',
    950: '#000000',
  },
}
SCSS
$custom: #462eb7;
$custom-light: #876ace;
$custom-dark: #000000;
JSON
{
  "hex": "#462eb7",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 250.511,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.20126,
    "h": 281.7
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#462EB7
secondary
#BAC879
accent
#E345C7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #462EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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