#462E9F#462E9F

#462E9F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.172 H 285.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#462E9F
RGBrgb(70, 46, 159)
HSLhsl(253, 55%, 40%)
HSVhsv(253, 71%, 62%)
CMYKcmyk(56%, 71.1%, 0%, 37.6%)
CIE-LABlab(28.80, 41.05, -57.64)
CIE-LCHlch(28.80, 70.76, 305.46°)
OKLaboklab(40.41% 0.046 -0.1658)
OKLCHoklch(40.41% 0.172 285.5)
XYZxyz(9.7589, 5.7587, 33.3915)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E9F #879F2E
analogous
#2E4F9F #462E9F #7E2E9F
triadic
#462E9F #9F462E #2E9F46
tetradic
#462E9F #9F2E4F #879F2E #2E9F7E
square
#462E9F #9F2E4F #879F2E #2E9F7E
split-complementary
#462E9F #9F7E2E #4F9F2E
monochromatic
#1C1340 #312070 #462E9F #5E42C8 #8771D6

Accessibility & contrast

On white

9.76
#462E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462E9F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E9F#FFFFFF#000000##FFFFFF
##462E9F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#1E4C63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462e9f;
/* rgb */ color: rgb(70, 46, 159);
/* oklch */ color: oklch(40.4% 0.172 285.5);
Tailwind
colors: {
  custom: {
    50: '#8369bc',
    500: '#462e9f',
    950: '#000000',
  },
}
SCSS
$custom: #462e9f;
$custom-light: #8369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#462e9f",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 252.743,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.17204,
    "h": 285.5
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#462E9F
secondary
#ACBE6B
accent
#DE49BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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