#462E8A#462E8A

#462E8A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.145 H 289.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#462E8A
RGBrgb(70, 46, 138)
HSLhsl(256, 50%, 36%)
HSVhsv(256, 67%, 54%)
CMYKcmyk(49.3%, 66.7%, 0%, 45.9%)
CIE-LABlab(26.99, 34.62, -47.68)
CIE-LCHlch(26.99, 58.93, 305.98°)
OKLaboklab(38.55% 0.0493 -0.1365)
OKLCHoklch(38.55% 0.145 289.8)
XYZxyz(8.0889, 5.0907, 24.5962)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E8A #728A2E
analogous
#2E448A #462E8A #742E8A
triadic
#462E8A #8A462E #2E8A46
tetradic
#462E8A #8A2E44 #728A2E #2E8A74
square
#462E8A #8A2E44 #728A2E #2E8A74
split-complementary
#462E8A #8A742E #448A2E
monochromatic
#170F2E #2F1F5C #462E8A #5D3DB8 #8166CC

Accessibility & contrast

On white

10.41
#462E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#462E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E8A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E8A#FFFFFF#000000##FFFFFF
##462E8A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#304457
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462e8a;
/* rgb */ color: rgb(70, 46, 138);
/* oklch */ color: oklch(38.6% 0.145 289.8);
Tailwind
colors: {
  custom: {
    50: '#8068ad',
    500: '#462e8a',
    950: '#000000',
  },
}
SCSS
$custom: #462e8a;
$custom-light: #8068ad;
$custom-dark: #000000;
JSON
{
  "hex": "#462e8a",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 255.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3855,
    "c": 0.14517,
    "h": 289.8
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#462E8A
secondary
#9EB361
accent
#DA4EB5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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