#462AC1#462AC1

#462AC1 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.2% C 0.217 H 280.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#462AC1
RGBrgb(70, 42, 193)
HSLhsl(251, 64%, 46%)
HSVhsv(251, 78%, 76%)
CMYKcmyk(63.7%, 78.2%, 0%, 24.3%)
CIE-LABlab(31.36, 53.30, -73.73)
CIE-LCHlch(31.36, 90.98, 305.86°)
OKLaboklab(43.21% 0.0406 -0.2128)
OKLCHoklch(43.21% 0.217 280.8)
XYZxyz(12.9763, 6.8073, 51.0719)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AC1 #A5C12A
analogous
#2A59C1 #462AC1 #912AC1
triadic
#462AC1 #C1462A #2AC146
tetradic
#462AC1 #C12A59 #A5C12A #2AC191
square
#462AC1 #C12A59 #A5C12A #2AC191
split-complementary
#462AC1 #C1912A #59C12A
monochromatic
#22145C #341F8F #462AC1 #694FD9 #9482E4

Accessibility & contrast

On white

8.89
#462AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#462AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AC1
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AC1#FFFFFF#000000##FFFFFF
##462AC11.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #462ac1;
/* rgb */ color: rgb(70, 42, 193);
/* oklch */ color: oklch(43.2% 0.217 280.8);
Tailwind
colors: {
  custom: {
    50: '#8968d5',
    500: '#462ac1',
    950: '#000000',
  },
}
SCSS
$custom: #462ac1;
$custom-light: #8968d5;
$custom-dark: #000000;
JSON
{
  "hex": "#462ac1",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 251.126,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43212,
    "c": 0.21663,
    "h": 280.8
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#462AC1
secondary
#BDCD7A
accent
#E741C8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #462AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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