#462FAA#462FAA

#462FAA is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.185 H 283.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#462FAA
RGBrgb(70, 47, 170)
HSLhsl(251, 57%, 43%)
HSVhsv(251, 72%, 67%)
CMYKcmyk(58.8%, 72.4%, 0%, 33.3%)
CIE-LABlab(30.00, 43.86, -62.30)
CIE-LCHlch(30.00, 76.19, 305.14°)
OKLaboklab(41.57% 0.043 -0.1795)
OKLCHoklch(41.57% 0.185 283.5)
XYZxyz(10.7958, 6.2367, 38.6573)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FAA #93AA2F
analogous
#2F55AA #462FAA #842FAA
triadic
#462FAA #AA462F #2FAA46
tetradic
#462FAA #AA2F55 #93AA2F #2FAA84
square
#462FAA #AA2F55 #93AA2F #2FAA84
split-complementary
#462FAA #AA842F #55AA2F
monochromatic
#1F144A #32227A #462FAA #6249CD #8B79DA

Accessibility & contrast

On white

9.34
#462FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#462FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FAA
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FAA#FFFFFF#000000##FFFFFF
##462FAA1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#095069
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462faa;
/* rgb */ color: rgb(70, 47, 170);
/* oklch */ color: oklch(41.6% 0.185 283.5);
Tailwind
colors: {
  custom: {
    50: '#856ac4',
    500: '#462faa',
    950: '#000000',
  },
}
SCSS
$custom: #462faa;
$custom-light: #856ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#462faa",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 251.22,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.18453,
    "h": 283.5
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#462FAA
secondary
#B3C272
accent
#E048C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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