#462FB4#462FB4

#462FB4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.197 H 282.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#462FB4
RGBrgb(70, 47, 180)
HSLhsl(250, 59%, 45%)
HSVhsv(250, 74%, 71%)
CMYKcmyk(61.1%, 73.9%, 0%, 29.4%)
CIE-LABlab(30.95, 46.91, -66.73)
CIE-LCHlch(30.95, 81.57, 305.11°)
OKLaboklab(42.53% 0.0408 -0.1924)
OKLCHoklch(42.53% 0.197 282)
XYZxyz(11.7779, 6.6296, 43.8302)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FB4 #9DB42F
analogous
#2F5BB4 #462FB4 #892FB4
triadic
#462FB4 #B4462F #2FB446
tetradic
#462FB4 #B42F5B #9DB42F #2FB489
square
#462FB4 #B42F5B #9DB42F #2FB489
split-complementary
#462FB4 #B4892F #5BB42F
monochromatic
#201653 #332283 #462FB4 #664FD1 #9080DE

Accessibility & contrast

On white

9.03
#462FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#462FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FB4
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FB4#FFFFFF#000000##FFFFFF
##462FB41.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462fb4;
/* rgb */ color: rgb(70, 47, 180);
/* oklch */ color: oklch(42.5% 0.197 282.0);
Tailwind
colors: {
  custom: {
    50: '#876acc',
    500: '#462fb4',
    950: '#000000',
  },
}
SCSS
$custom: #462fb4;
$custom-light: #876acc;
$custom-dark: #000000;
JSON
{
  "hex": "#462fb4",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 250.376,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.19667,
    "h": 282
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#462FB4
secondary
#B9C778
accent
#E246C7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #462FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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