#462FA8#462FA8

#462FA8 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.182 H 283.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#462FA8
RGBrgb(70, 47, 168)
HSLhsl(251, 56%, 42%)
HSVhsv(251, 72%, 66%)
CMYKcmyk(58.3%, 72%, 0%, 34.1%)
CIE-LABlab(29.82, 43.25, -61.41)
CIE-LCHlch(29.82, 75.11, 305.16°)
OKLaboklab(41.38% 0.0434 -0.1768)
OKLCHoklch(41.38% 0.182 283.8)
XYZxyz(10.6080, 6.1616, 37.6685)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FA8 #91A82F
analogous
#2F55A8 #462FA8 #832FA8
triadic
#462FA8 #A8462F #2FA846
tetradic
#462FA8 #A82F55 #91A82F #2FA883
square
#462FA8 #A82F55 #91A82F #2FA883
split-complementary
#462FA8 #A8832F #55A82F
monochromatic
#1E1448 #322278 #462FA8 #6148CC #8B78D9

Accessibility & contrast

On white

9.41
#462FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#462FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FA8
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FA8#FFFFFF#000000##FFFFFF
##462FA81.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#0F5068
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462fa8;
/* rgb */ color: rgb(70, 47, 168);
/* oklch */ color: oklch(41.4% 0.182 283.8);
Tailwind
colors: {
  custom: {
    50: '#856ac3',
    500: '#462fa8',
    950: '#000000',
  },
}
SCSS
$custom: #462fa8;
$custom-light: #856ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#462fa8",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 251.405,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41384,
    "c": 0.18207,
    "h": 283.8
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#462FA8
secondary
#B2C171
accent
#E048C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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