#462D9F#462D9F

#462D9F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.173 H 285.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#462D9F
RGBrgb(70, 45, 159)
HSLhsl(253, 56%, 40%)
HSVhsv(253, 72%, 62%)
CMYKcmyk(56%, 71.7%, 0%, 37.6%)
CIE-LABlab(28.59, 41.60, -57.97)
CIE-LCHlch(28.59, 71.35, 305.67°)
OKLaboklab(40.26% 0.0469 -0.1667)
OKLCHoklch(40.26% 0.173 285.7)
XYZxyz(9.7203, 5.6815, 33.3786)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D9F #869F2D
analogous
#2D4D9F #462D9F #7F2D9F
triadic
#462D9F #9F462D #2D9F46
tetradic
#462D9F #9F2D4D #869F2D #2D9F7F
square
#462D9F #9F2D4D #869F2D #2D9F7F
split-complementary
#462D9F #9F7F2D #4D9F2D
monochromatic
#1C1240 #31206F #462D9F #5E40C9 #8670D6

Accessibility & contrast

On white

9.83
#462D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#462D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D9F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D9F#FFFFFF#000000##FFFFFF
##462D9F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#1E4B63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462d9f;
/* rgb */ color: rgb(70, 45, 159);
/* oklch */ color: oklch(40.3% 0.173 285.7);
Tailwind
colors: {
  custom: {
    50: '#8368bc',
    500: '#462d9f',
    950: '#000000',
  },
}
SCSS
$custom: #462d9f;
$custom-light: #8368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#462d9f",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 253.158,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.1732,
    "h": 285.7
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#462D9F
secondary
#ABBE6A
accent
#DF49BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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