#462CA1#462CA1

#462CA1 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.177 H 285.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#462CA1
RGBrgb(70, 44, 161)
HSLhsl(253, 57%, 40%)
HSVhsv(253, 73%, 63%)
CMYKcmyk(56.5%, 72.7%, 0%, 36.9%)
CIE-LABlab(28.58, 42.76, -59.21)
CIE-LCHlch(28.58, 73.03, 305.84°)
OKLaboklab(40.31% 0.0473 -0.1704)
OKLCHoklch(40.31% 0.177 285.5)
XYZxyz(9.8575, 5.6761, 34.2875)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CA1 #87A12C
analogous
#2C4DA1 #462CA1 #802CA1
triadic
#462CA1 #A1462C #2CA146
tetradic
#462CA1 #A12C4D #87A12C #2CA180
square
#462CA1 #A12C4D #87A12C #2CA180
split-complementary
#462CA1 #A1802C #4DA12C
monochromatic
#1C1241 #311F71 #462CA1 #5E40CB #8770D8

Accessibility & contrast

On white

9.83
#462CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462CA1
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CA1#FFFFFF#000000##FFFFFF
##462CA11.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#1B4B63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462ca1;
/* rgb */ color: rgb(70, 44, 161);
/* oklch */ color: oklch(40.3% 0.177 285.5);
Tailwind
colors: {
  custom: {
    50: '#8468be',
    500: '#462ca1',
    950: '#000000',
  },
}
SCSS
$custom: #462ca1;
$custom-light: #8468be;
$custom-dark: #000000;
JSON
{
  "hex": "#462ca1",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 253.333,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.17681,
    "h": 285.5
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#462CA1
secondary
#ACBF6A
accent
#E047BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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