#462F9D#462F9D

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

Color values

HEX#462F9D
RGBrgb(70, 47, 157)
HSLhsl(253, 54%, 40%)
HSVhsv(253, 70%, 62%)
CMYKcmyk(55.4%, 70.1%, 0%, 38.4%)
CIE-LABlab(28.82, 39.87, -56.38)
CIE-LCHlch(28.82, 69.05, 305.27°)
OKLaboklab(40.37% 0.0455 -0.1621)
OKLCHoklch(40.37% 0.168 285.7)
XYZxyz(9.6263, 5.7689, 32.4980)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F9D #869D2F
analogous
#2F4F9D #462F9D #7D2F9D
triadic
#462F9D #9D462F #2F9D46
tetradic
#462F9D #9D2F4F #869D2F #2F9D7D
square
#462F9D #9D2F4F #869D2F #2F9D7D
split-complementary
#462F9D #9D7D2F #4F9D2F
monochromatic
#1C133F #31216E #462F9D #5E43C7 #8672D5

Accessibility & contrast

On white

9.75
#462F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462F9D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F9D#FFFFFF#000000##FFFFFF
##462F9D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#204C62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462f9d;
/* rgb */ color: rgb(70, 47, 157);
/* oklch */ color: oklch(40.4% 0.168 285.7);
Tailwind
colors: {
  custom: {
    50: '#8369bb',
    500: '#462f9d',
    950: '#000000',
  },
}
SCSS
$custom: #462f9d;
$custom-light: #8369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#462f9d",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 252.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.16835,
    "h": 285.7
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#462F9D
secondary
#ABBC6B
accent
#DD4BBF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #462F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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