#462CA3#462CA3

#462CA3 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.179 H 285.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#462CA3
RGBrgb(70, 44, 163)
HSLhsl(253, 57%, 41%)
HSVhsv(253, 73%, 64%)
CMYKcmyk(57.1%, 73%, 0%, 36.1%)
CIE-LABlab(28.77, 43.37, -60.11)
CIE-LCHlch(28.77, 74.12, 305.81°)
OKLaboklab(40.5% 0.0469 -0.173)
OKLCHoklch(40.5% 0.179 285.2)
XYZxyz(10.0353, 5.7472, 35.2238)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CA3 #89A32C
analogous
#2C4DA3 #462CA3 #812CA3
triadic
#462CA3 #A3462C #2CA346
tetradic
#462CA3 #A32C4D #89A32C #2CA381
square
#462CA3 #A32C4D #89A32C #2CA381
split-complementary
#462CA3 #A3812C #4DA32C
monochromatic
#1D1243 #311F73 #462CA3 #5F41CC #8771D9

Accessibility & contrast

On white

9.77
#462CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#462CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CA3
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CA3#FFFFFF#000000##FFFFFF
##462CA31.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#194C65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462ca3;
/* rgb */ color: rgb(70, 44, 163);
/* oklch */ color: oklch(40.5% 0.179 285.2);
Tailwind
colors: {
  custom: {
    50: '#8468bf',
    500: '#462ca3',
    950: '#000000',
  },
}
SCSS
$custom: #462ca3;
$custom-light: #8468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#462ca3",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 253.109,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.17926,
    "h": 285.2
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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