#462CA2#462CA2

#462CA2 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.178 H 285.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#462CA2
RGBrgb(70, 44, 162)
HSLhsl(253, 57%, 40%)
HSVhsv(253, 73%, 64%)
CMYKcmyk(56.8%, 72.8%, 0%, 36.5%)
CIE-LABlab(28.67, 43.06, -59.66)
CIE-LCHlch(28.67, 73.58, 305.82°)
OKLaboklab(40.4% 0.0471 -0.1717)
OKLCHoklch(40.4% 0.178 285.3)
XYZxyz(9.9461, 5.7115, 34.7538)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CA2 #88A22C
analogous
#2C4DA2 #462CA2 #812CA2
triadic
#462CA2 #A2462C #2CA246
tetradic
#462CA2 #A22C4D #88A22C #2CA281
square
#462CA2 #A22C4D #88A22C #2CA281
split-complementary
#462CA2 #A2812C #4DA22C
monochromatic
#1C1242 #311F72 #462CA2 #5F40CB #8770D8

Accessibility & contrast

On white

9.80
#462CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#462CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CA2
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CA2#FFFFFF#000000##FFFFFF
##462CA21.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#1A4C64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462ca2;
/* rgb */ color: rgb(70, 44, 162);
/* oklch */ color: oklch(40.4% 0.178 285.3);
Tailwind
colors: {
  custom: {
    50: '#8468bf',
    500: '#462ca2',
    950: '#000000',
  },
}
SCSS
$custom: #462ca2;
$custom-light: #8468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462ca2",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 253.22,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.17804,
    "h": 285.3
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#462CA2
secondary
#ADBF6A
accent
#E147BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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