#462FAC#462FAC

#462FAC is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.187 H 283.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#462FAC
RGBrgb(70, 47, 172)
HSLhsl(251, 57%, 43%)
HSVhsv(251, 73%, 67%)
CMYKcmyk(59.3%, 72.7%, 0%, 32.5%)
CIE-LABlab(30.19, 44.47, -63.20)
CIE-LCHlch(30.19, 77.28, 305.13°)
OKLaboklab(41.76% 0.0425 -0.1821)
OKLCHoklch(41.76% 0.187 283.1)
XYZxyz(10.9864, 6.3130, 39.6613)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FAC #95AC2F
analogous
#2F56AC #462FAC #842FAC
triadic
#462FAC #AC462F #2FAC46
tetradic
#462FAC #AC2F56 #95AC2F #2FAC84
square
#462FAC #AC2F56 #95AC2F #2FAC84
split-complementary
#462FAC #AC842F #56AC2F
monochromatic
#1F154C #32227C #462FAC #634BCE #8C7BDB

Accessibility & contrast

On white

9.28
#462FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#462FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FAC
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FAC#FFFFFF#000000##FFFFFF
##462FAC1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#03516A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462fac;
/* rgb */ color: rgb(70, 47, 172);
/* oklch */ color: oklch(41.8% 0.187 283.1);
Tailwind
colors: {
  custom: {
    50: '#856ac6',
    500: '#462fac',
    950: '#000000',
  },
}
SCSS
$custom: #462fac;
$custom-light: #856ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#462fac",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 251.04,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.18697,
    "h": 283.1
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#462FAC
secondary
#B5C374
accent
#E047C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #462FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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