#462AA7#462AA7

#462AA7 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.186 H 284.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#462AA7
RGBrgb(70, 42, 167)
HSLhsl(253, 60%, 41%)
HSVhsv(253, 75%, 65%)
CMYKcmyk(58.1%, 74.9%, 0%, 34.5%)
CIE-LABlab(28.77, 45.63, -62.53)
CIE-LCHlch(28.77, 77.41, 306.12°)
OKLaboklab(40.61% 0.0475 -0.1801)
OKLCHoklch(40.61% 0.186 284.8)
XYZxyz(10.3267, 5.7474, 37.1169)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AA7 #8BA72A
analogous
#2A4CA7 #462AA7 #842AA7
triadic
#462AA7 #A7462A #2AA746
tetradic
#462AA7 #A72A4C #8BA72A #2AA784
square
#462AA7 #A72A4C #8BA72A #2AA784
split-complementary
#462AA7 #A7842A #4CA72A
monochromatic
#1D1145 #321E76 #462AA7 #603FCF #8870DB

Accessibility & contrast

On white

9.77
#462AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#462AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AA7
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AA7#FFFFFF#000000##FFFFFF
##462AA71.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#124D66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462aa7;
/* rgb */ color: rgb(70, 42, 167);
/* oklch */ color: oklch(40.6% 0.186 284.8);
Tailwind
colors: {
  custom: {
    50: '#8567c2',
    500: '#462aa7',
    950: '#000000',
  },
}
SCSS
$custom: #462aa7;
$custom-light: #8567c2;
$custom-dark: #000000;
JSON
{
  "hex": "#462aa7",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 253.44,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.18625,
    "h": 284.8
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#462AA7
secondary
#AFC26B
accent
#E345C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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