#462F9F#462F9F

#462F9F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.171 H 285.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#462F9F
RGBrgb(70, 47, 159)
HSLhsl(252, 54%, 40%)
HSVhsv(252, 70%, 62%)
CMYKcmyk(56%, 70.4%, 0%, 37.6%)
CIE-LABlab(29.00, 40.48, -57.30)
CIE-LCHlch(29.00, 70.16, 305.24°)
OKLaboklab(40.55% 0.0451 -0.1648)
OKLCHoklch(40.55% 0.171 285.3)
XYZxyz(9.7984, 5.8378, 33.4047)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F9F #889F2F
analogous
#2F509F #462F9F #7E2F9F
triadic
#462F9F #9F462F #2F9F46
tetradic
#462F9F #9F2F50 #889F2F #2F9F7E
square
#462F9F #9F2F50 #889F2F #2F9F7E
split-complementary
#462F9F #9F7E2F #509F2F
monochromatic
#1C1341 #312170 #462F9F #5F44C8 #8773D6

Accessibility & contrast

On white

9.69
#462F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#462F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F9F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F9F#FFFFFF#000000##FFFFFF
##462F9F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462f9f;
/* rgb */ color: rgb(70, 47, 159);
/* oklch */ color: oklch(40.6% 0.171 285.3);
Tailwind
colors: {
  custom: {
    50: '#8369bc',
    500: '#462f9f',
    950: '#000000',
  },
}
SCSS
$custom: #462f9f;
$custom-light: #8369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#462f9f",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 252.321,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40551,
    "c": 0.17087,
    "h": 285.3
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#462F9F
secondary
#ADBD6D
accent
#DE4ABF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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