#462CB3#462CB3

#462CB3 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.199 H 282.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#462CB3
RGBrgb(70, 44, 179)
HSLhsl(252, 61%, 44%)
HSVhsv(252, 75%, 70%)
CMYKcmyk(60.9%, 75.4%, 0%, 29.8%)
CIE-LABlab(30.30, 48.18, -67.20)
CIE-LCHlch(30.30, 82.69, 305.64°)
OKLaboklab(42.04% 0.0431 -0.1938)
OKLCHoklch(42.04% 0.199 282.5)
XYZxyz(11.5606, 6.3573, 43.2570)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CB3 #99B32C
analogous
#2C55B3 #462CB3 #892CB3
triadic
#462CB3 #B3462C #2CB346
tetradic
#462CB3 #B32C55 #99B32C #2CB389
square
#462CB3 #B32C55 #99B32C #2CB389
split-complementary
#462CB3 #B3892C #55B32C
monochromatic
#201451 #332082 #462CB3 #644AD2 #8E7BDF

Accessibility & contrast

On white

9.24
#462CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#462CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CB3
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CB3#FFFFFF#000000##FFFFFF
##462CB31.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462cb3;
/* rgb */ color: rgb(70, 44, 179);
/* oklch */ color: oklch(42.0% 0.199 282.5);
Tailwind
colors: {
  custom: {
    50: '#8769cb',
    500: '#462cb3',
    950: '#000000',
  },
}
SCSS
$custom: #462cb3;
$custom-light: #8769cb;
$custom-dark: #000000;
JSON
{
  "hex": "#462cb3",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 251.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.1985,
    "h": 282.5
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#462CB3
secondary
#B7C774
accent
#E444C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #462CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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