#462CA0#462CA0

#462CA0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.176 H 285.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#462CA0
RGBrgb(70, 44, 160)
HSLhsl(253, 57%, 40%)
HSVhsv(253, 73%, 63%)
CMYKcmyk(56.3%, 72.5%, 0%, 37.3%)
CIE-LABlab(28.49, 42.46, -58.75)
CIE-LCHlch(28.49, 72.49, 305.86°)
OKLaboklab(40.21% 0.0475 -0.169)
OKLCHoklch(40.21% 0.176 285.7)
XYZxyz(9.7697, 5.6410, 33.8249)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CA0 #86A02C
analogous
#2C4CA0 #462CA0 #802CA0
triadic
#462CA0 #A0462C #2CA046
tetradic
#462CA0 #A02C4C #86A02C #2CA080
square
#462CA0 #A02C4C #86A02C #2CA080
split-complementary
#462CA0 #A0802C #4CA02C
monochromatic
#1C1240 #311F70 #462CA0 #5E3FCA #866FD7

Accessibility & contrast

On white

9.87
#462CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#462CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CA0
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CA0#FFFFFF#000000##FFFFFF
##462CA01.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#1D4B63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462ca0;
/* rgb */ color: rgb(70, 44, 160);
/* oklch */ color: oklch(40.2% 0.176 285.7);
Tailwind
colors: {
  custom: {
    50: '#8368bd',
    500: '#462ca0',
    950: '#000000',
  },
}
SCSS
$custom: #462ca0;
$custom-light: #8368bd;
$custom-dark: #000000;
JSON
{
  "hex": "#462ca0",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 253.448,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.17558,
    "h": 285.7
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#462CA0
secondary
#ABBF69
accent
#E048BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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