#462F97#462F97

#462F97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.161 H 286.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#462F97
RGBrgb(70, 47, 151)
HSLhsl(253, 53%, 39%)
HSVhsv(253, 69%, 59%)
CMYKcmyk(53.6%, 68.9%, 0%, 40.8%)
CIE-LABlab(28.30, 38.02, -53.57)
CIE-LCHlch(28.30, 65.69, 305.36°)
OKLaboklab(39.83% 0.0465 -0.1538)
OKLCHoklch(39.83% 0.161 286.8)
XYZxyz(9.1266, 5.5690, 29.8662)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F97 #80972F
analogous
#2F4C97 #462F97 #7A2F97
triadic
#462F97 #97462F #2F9746
tetradic
#462F97 #972F4C #80972F #2F977A
square
#462F97 #972F4C #80972F #2F977A
split-complementary
#462F97 #977A2F #4C972F
monochromatic
#1B123A #302068 #462F97 #5D40C3 #846ED2

Accessibility & contrast

On white

9.93
#462F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#462F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F97
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F97#FFFFFF#000000##FFFFFF
##462F971.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#26495F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462f97;
/* rgb */ color: rgb(70, 47, 151);
/* oklch */ color: oklch(39.8% 0.161 286.8);
Tailwind
colors: {
  custom: {
    50: '#8269b6',
    500: '#462f97',
    950: '#000000',
  },
}
SCSS
$custom: #462f97;
$custom-light: #8269b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462f97",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 253.269,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39831,
    "c": 0.16071,
    "h": 286.8
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#462F97
secondary
#A7B968
accent
#DC4CBC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462F97

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

Preview Lab → · Contrast checker → · Palette generator →

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