#462E8D#462E8D

#462E8D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.149 H 289.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#462E8D
RGBrgb(70, 46, 141)
HSLhsl(255, 51%, 37%)
HSVhsv(255, 67%, 55%)
CMYKcmyk(50.4%, 67.4%, 0%, 44.7%)
CIE-LABlab(27.24, 35.54, -49.14)
CIE-LCHlch(27.24, 60.65, 305.87°)
OKLaboklab(38.81% 0.0489 -0.1408)
OKLCHoklch(38.81% 0.149 289.2)
XYZxyz(8.3091, 5.1788, 25.7559)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E8D #758D2E
analogous
#2E468D #462E8D #762E8D
triadic
#462E8D #8D462E #2E8D46
tetradic
#462E8D #8D2E46 #758D2E #2E8D76
square
#462E8D #8D2E46 #758D2E #2E8D76
split-complementary
#462E8D #8D762E #468D2E
monochromatic
#181031 #2F1F5F #462E8D #5D3DBB #8168CE

Accessibility & contrast

On white

10.32
#462E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#462E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E8D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E8D#FFFFFF#000000##FFFFFF
##462E8D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#2E4559
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462e8d;
/* rgb */ color: rgb(70, 46, 141);
/* oklch */ color: oklch(38.8% 0.149 289.2);
Tailwind
colors: {
  custom: {
    50: '#8068af',
    500: '#462e8d',
    950: '#000000',
  },
}
SCSS
$custom: #462e8d;
$custom-light: #8068af;
$custom-dark: #000000;
JSON
{
  "hex": "#462e8d",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 255.158,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.14909,
    "h": 289.2
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#462E8D
secondary
#A0B562
accent
#DA4EB7
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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