#462CA7#462CA7

#462CA7 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.184 H 284.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#462CA7
RGBrgb(70, 44, 167)
HSLhsl(253, 58%, 41%)
HSVhsv(253, 74%, 65%)
CMYKcmyk(58.1%, 73.7%, 0%, 34.5%)
CIE-LABlab(29.14, 44.57, -61.91)
CIE-LCHlch(29.14, 76.29, 305.75°)
OKLaboklab(40.88% 0.046 -0.1783)
OKLCHoklch(40.88% 0.184 284.5)
XYZxyz(10.3994, 5.8928, 37.1412)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CA7 #8DA72C
analogous
#2C50A7 #462CA7 #842CA7
triadic
#462CA7 #A7462C #2CA746
tetradic
#462CA7 #A72C50 #8DA72C #2CA784
square
#462CA7 #A72C50 #8DA72C #2CA784
split-complementary
#462CA7 #A7842C #50A72C
monochromatic
#1D1246 #321F77 #462CA7 #6043CD #8973DA

Accessibility & contrast

On white

9.64
#462CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#462CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CA7
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CA7#FFFFFF#000000##FFFFFF
##462CA71.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#124E67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462ca7;
/* rgb */ color: rgb(70, 44, 167);
/* oklch */ color: oklch(40.9% 0.184 284.5);
Tailwind
colors: {
  custom: {
    50: '#8568c2',
    500: '#462ca7',
    950: '#000000',
  },
}
SCSS
$custom: #462ca7;
$custom-light: #8568c2;
$custom-dark: #000000;
JSON
{
  "hex": "#462ca7",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 252.683,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.18413,
    "h": 284.5
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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