#462EAC#462EAC

#462EAC is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.188 H 283.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#462EAC
RGBrgb(70, 46, 172)
HSLhsl(251, 58%, 43%)
HSVhsv(251, 73%, 67%)
CMYKcmyk(59.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(30.00, 45.01, -63.52)
CIE-LCHlch(30.00, 77.85, 305.33°)
OKLaboklab(41.63% 0.0433 -0.183)
OKLCHoklch(41.63% 0.188 283.3)
XYZxyz(10.9469, 6.2339, 39.6481)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EAC #94AC2E
analogous
#2E55AC #462EAC #852EAC
triadic
#462EAC #AC462E #2EAC46
tetradic
#462EAC #AC2E55 #94AC2E #2EAC85
square
#462EAC #AC2E55 #94AC2E #2EAC85
split-complementary
#462EAC #AC852E #55AC2E
monochromatic
#1F144B #32217C #462EAC #6249CE #8C79DB

Accessibility & contrast

On white

9.35
#462EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#462EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EAC
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EAC#FFFFFF#000000##FFFFFF
##462EAC1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462eac;
/* rgb */ color: rgb(70, 46, 172);
/* oklch */ color: oklch(41.6% 0.188 283.3);
Tailwind
colors: {
  custom: {
    50: '#8569c6',
    500: '#462eac',
    950: '#000000',
  },
}
SCSS
$custom: #462eac;
$custom-light: #8569c6;
$custom-dark: #000000;
JSON
{
  "hex": "#462eac",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 251.429,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.18805,
    "h": 283.3
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#462EAC
secondary
#B4C372
accent
#E147C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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