#462EA7#462EA7

#462EA7 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.182 H 284.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#462EA7
RGBrgb(70, 46, 167)
HSLhsl(252, 57%, 42%)
HSVhsv(252, 72%, 65%)
CMYKcmyk(58.1%, 72.5%, 0%, 34.5%)
CIE-LABlab(29.53, 43.49, -61.28)
CIE-LCHlch(29.53, 75.14, 305.36°)
OKLaboklab(41.15% 0.0444 -0.1764)
OKLCHoklch(41.15% 0.182 284.1)
XYZxyz(10.4757, 6.0455, 37.1666)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EA7 #8FA72E
analogous
#2E53A7 #462EA7 #832EA7
triadic
#462EA7 #A7462E #2EA746
tetradic
#462EA7 #A72E53 #8FA72E #2EA783
square
#462EA7 #A72E53 #8FA72E #2EA783
split-complementary
#462EA7 #A7832E #53A72E
monochromatic
#1E1447 #322177 #462EA7 #6146CC #8A76D9

Accessibility & contrast

On white

9.51
#462EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#462EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EA7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EA7#FFFFFF#000000##FFFFFF
##462EA71.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#114F67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462ea7;
/* rgb */ color: rgb(70, 46, 167);
/* oklch */ color: oklch(41.1% 0.182 284.1);
Tailwind
colors: {
  custom: {
    50: '#8469c2',
    500: '#462ea7',
    950: '#000000',
  },
}
SCSS
$custom: #462ea7;
$custom-light: #8469c2;
$custom-dark: #000000;
JSON
{
  "hex": "#462ea7",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 251.901,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4115,
    "c": 0.18195,
    "h": 284.1
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#462EA7
secondary
#B1C170
accent
#E048C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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