#462FA1#462FA1

#462FA1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.173 H 285.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#462FA1
RGBrgb(70, 47, 161)
HSLhsl(252, 55%, 41%)
HSVhsv(252, 71%, 63%)
CMYKcmyk(56.5%, 70.8%, 0%, 36.9%)
CIE-LABlab(29.18, 41.10, -58.22)
CIE-LCHlch(29.18, 71.27, 305.22°)
OKLaboklab(40.73% 0.0447 -0.1675)
OKLCHoklch(40.73% 0.173 285)
XYZxyz(9.9734, 5.9078, 34.3261)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FA1 #8AA12F
analogous
#2F51A1 #462FA1 #7F2FA1
triadic
#462FA1 #A1462F #2FA146
tetradic
#462FA1 #A12F51 #8AA12F #2FA17F
square
#462FA1 #A12F51 #8AA12F #2FA17F
split-complementary
#462FA1 #A17F2F #51A12F
monochromatic
#1D1342 #312172 #462FA1 #5F45C9 #8874D6

Accessibility & contrast

On white

9.63
#462FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#462FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FA1
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FA1#FFFFFF#000000##FFFFFF
##462FA11.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#1B4D64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462fa1;
/* rgb */ color: rgb(70, 47, 161);
/* oklch */ color: oklch(40.7% 0.173 285.0);
Tailwind
colors: {
  custom: {
    50: '#836abe',
    500: '#462fa1',
    950: '#000000',
  },
}
SCSS
$custom: #462fa1;
$custom-light: #836abe;
$custom-dark: #000000;
JSON
{
  "hex": "#462fa1",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 252.105,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.17337,
    "h": 285
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#462FA1
secondary
#AEBE6E
accent
#DE4AC0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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