#462FAE#462FAE

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

Color values

HEX#462FAE
RGBrgb(70, 47, 174)
HSLhsl(251, 57%, 43%)
HSVhsv(251, 73%, 68%)
CMYKcmyk(59.8%, 73%, 0%, 31.8%)
CIE-LABlab(30.38, 45.08, -64.09)
CIE-LCHlch(30.38, 78.36, 305.13°)
OKLaboklab(41.95% 0.0421 -0.1847)
OKLCHoklch(41.95% 0.189 282.8)
XYZxyz(11.1799, 6.3904, 40.6805)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FAE #97AE2F
analogous
#2F57AE #462FAE #852FAE
triadic
#462FAE #AE462F #2FAE46
tetradic
#462FAE #AE2F57 #97AE2F #2FAE85
square
#462FAE #AE2F57 #97AE2F #2FAE85
split-complementary
#462FAE #AE852F #57AE2F
monochromatic
#1F154E #33227E #462FAE #634CCF #8D7CDC

Accessibility & contrast

On white

9.22
#462FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#462FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FAE
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FAE#FFFFFF#000000##FFFFFF
##462FAE1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462fae;
/* rgb */ color: rgb(70, 47, 174);
/* oklch */ color: oklch(42.0% 0.189 282.8);
Tailwind
colors: {
  custom: {
    50: '#866ac7',
    500: '#462fae',
    950: '#000000',
  },
}
SCSS
$custom: #462fae;
$custom-light: #866ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#462fae",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 250.866,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41953,
    "c": 0.18942,
    "h": 282.8
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#462FAE
secondary
#B6C475
accent
#E147C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #462FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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