#462FB6#462FB6

#462FB6 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.199 H 281.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#462FB6
RGBrgb(70, 47, 182)
HSLhsl(250, 59%, 45%)
HSVhsv(250, 74%, 71%)
CMYKcmyk(61.5%, 74.2%, 0%, 28.6%)
CIE-LABlab(31.14, 47.52, -67.60)
CIE-LCHlch(31.14, 82.63, 305.11°)
OKLaboklab(42.73% 0.0403 -0.1949)
OKLCHoklch(42.73% 0.199 281.7)
XYZxyz(11.9832, 6.7117, 44.9109)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FB6 #9FB62F
analogous
#2F5CB6 #462FB6 #892FB6
triadic
#462FB6 #B6462F #2FB646
tetradic
#462FB6 #B62F5C #9FB62F #2FB689
square
#462FB6 #B62F5C #9FB62F #2FB689
split-complementary
#462FB6 #B6892F #5CB62F
monochromatic
#211655 #332285 #462FB6 #6650D2 #9181DE

Accessibility & contrast

On white

8.96
#462FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#462FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FB6
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FB6#FFFFFF#000000##FFFFFF
##462FB61.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462fb6;
/* rgb */ color: rgb(70, 47, 182);
/* oklch */ color: oklch(42.7% 0.199 281.7);
Tailwind
colors: {
  custom: {
    50: '#876acd',
    500: '#462fb6',
    950: '#000000',
  },
}
SCSS
$custom: #462fb6;
$custom-light: #876acd;
$custom-dark: #000000;
JSON
{
  "hex": "#462fb6",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 250.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.19906,
    "h": 281.7
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#462FB6
secondary
#BAC779
accent
#E246C7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #462FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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