#462A97#462A97

#462A97 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.167 H 287.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#462A97
RGBrgb(70, 42, 151)
HSLhsl(255, 56%, 38%)
HSVhsv(255, 72%, 59%)
CMYKcmyk(53.6%, 72.2%, 0%, 40.8%)
CIE-LABlab(27.27, 40.84, -55.25)
CIE-LCHlch(27.27, 68.70, 306.48°)
OKLaboklab(39.1% 0.0511 -0.1587)
OKLCHoklch(39.1% 0.167 287.9)
XYZxyz(8.9380, 5.1919, 29.8033)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A97 #7B972A
analogous
#2A4497 #462A97 #7C2A97
triadic
#462A97 #97462A #2A9746
tetradic
#462A97 #972A44 #7B972A #2A977C
square
#462A97 #972A44 #7B972A #2A977C
split-complementary
#462A97 #977C2A #44972A
monochromatic
#1A0F37 #301D67 #462A97 #5C37C7 #8367D5

Accessibility & contrast

On white

10.30
#462A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#462A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A97
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A97#FFFFFF#000000##FFFFFF
##462A971.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#26475D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462a97;
/* rgb */ color: rgb(70, 42, 151);
/* oklch */ color: oklch(39.1% 0.167 287.9);
Tailwind
colors: {
  custom: {
    50: '#8266b7',
    500: '#462a97',
    950: '#000000',
  },
}
SCSS
$custom: #462a97;
$custom-light: #8266b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462a97",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 255.413,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.391,
    "c": 0.16678,
    "h": 287.9
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#462A97
secondary
#A4BB62
accent
#E048B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462A97

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

Preview Lab → · Contrast checker → · Palette generator →

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