#462CA8#462CA8

#462CA8 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.185 H 284.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#462CA8
RGBrgb(70, 44, 168)
HSLhsl(253, 58%, 42%)
HSVhsv(253, 74%, 66%)
CMYKcmyk(58.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(29.24, 44.87, -62.36)
CIE-LCHlch(29.24, 76.83, 305.74°)
OKLaboklab(40.97% 0.0457 -0.1796)
OKLCHoklch(40.97% 0.185 284.3)
XYZxyz(10.4922, 5.9300, 37.6299)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CA8 #8EA82C
analogous
#2C50A8 #462CA8 #842CA8
triadic
#462CA8 #A8462C #2CA846
tetradic
#462CA8 #A82C50 #8EA82C #2CA884
square
#462CA8 #A82C50 #8EA82C #2CA884
split-complementary
#462CA8 #A8842C #50A82C
monochromatic
#1E1347 #321F78 #462CA8 #6043CE #8974DB

Accessibility & contrast

On white

9.61
#462CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#462CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CA8
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CA8#FFFFFF#000000##FFFFFF
##462CA81.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#0F4E67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462ca8;
/* rgb */ color: rgb(70, 44, 168);
/* oklch */ color: oklch(41.0% 0.185 284.3);
Tailwind
colors: {
  custom: {
    50: '#8568c3',
    500: '#462ca8',
    950: '#000000',
  },
}
SCSS
$custom: #462ca8;
$custom-light: #8568c3;
$custom-dark: #000000;
JSON
{
  "hex": "#462ca8",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 252.581,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.18534,
    "h": 284.3
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#462CA8
secondary
#B0C26E
accent
#E246C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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