#462F9A#462F9A

#462F9A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.165 H 286.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#462F9A
RGBrgb(70, 47, 154)
HSLhsl(253, 53%, 39%)
HSVhsv(253, 69%, 60%)
CMYKcmyk(54.5%, 69.5%, 0%, 39.6%)
CIE-LABlab(28.56, 38.94, -54.98)
CIE-LCHlch(28.56, 67.38, 305.31°)
OKLaboklab(40.1% 0.046 -0.158)
OKLCHoklch(40.1% 0.165 286.2)
XYZxyz(9.3733, 5.6677, 31.1657)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F9A #839A2F
analogous
#2F4E9A #462F9A #7C2F9A
triadic
#462F9A #9A462F #2F9A46
tetradic
#462F9A #9A2F4E #839A2F #2F9A7C
square
#462F9A #9A2F4E #839A2F #2F9A7C
split-complementary
#462F9A #9A7C2F #4E9A2F
monochromatic
#1B123C #31216B #462F9A #5D41C5 #8570D3

Accessibility & contrast

On white

9.84
#462F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#462F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F9A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F9A#FFFFFF#000000##FFFFFF
##462F9A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#234A60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462f9a;
/* rgb */ color: rgb(70, 47, 154);
/* oklch */ color: oklch(40.1% 0.165 286.2);
Tailwind
colors: {
  custom: {
    50: '#8269b9',
    500: '#462f9a',
    950: '#000000',
  },
}
SCSS
$custom: #462f9a;
$custom-light: #8269b9;
$custom-dark: #000000;
JSON
{
  "hex": "#462f9a",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 252.897,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40099,
    "c": 0.16454,
    "h": 286.2
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#462F9A
secondary
#A9BB6A
accent
#DD4BBD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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