#462CA4#462CA4

#462CA4 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.180 H 285.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#462CA4
RGBrgb(70, 44, 164)
HSLhsl(253, 58%, 41%)
HSVhsv(253, 73%, 64%)
CMYKcmyk(57.3%, 73.2%, 0%, 35.7%)
CIE-LABlab(28.86, 43.67, -60.57)
CIE-LCHlch(28.86, 74.67, 305.79°)
OKLaboklab(40.59% 0.0466 -0.1743)
OKLCHoklch(40.59% 0.18 285)
XYZxyz(10.1253, 5.7832, 35.6975)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CA4 #8AA42C
analogous
#2C4EA4 #462CA4 #822CA4
triadic
#462CA4 #A4462C #2CA446
tetradic
#462CA4 #A42C4E #8AA42C #2CA482
square
#462CA4 #A42C4E #8AA42C #2CA482
split-complementary
#462CA4 #A4822C #4EA42C
monochromatic
#1D1243 #311F74 #462CA4 #5F41CC #8871D9

Accessibility & contrast

On white

9.74
#462CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#462CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CA4
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CA4#FFFFFF#000000##FFFFFF
##462CA41.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#174D65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462ca4;
/* rgb */ color: rgb(70, 44, 164);
/* oklch */ color: oklch(40.6% 0.180 285.0);
Tailwind
colors: {
  custom: {
    50: '#8468c0',
    500: '#462ca4',
    950: '#000000',
  },
}
SCSS
$custom: #462ca4;
$custom-light: #8468c0;
$custom-dark: #000000;
JSON
{
  "hex": "#462ca4",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 253,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4059,
    "c": 0.18048,
    "h": 285
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#462CA4
secondary
#AEC06B
accent
#E147C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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