#462E89#462E89

#462E89 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.144 H 290.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#462E89
RGBrgb(70, 46, 137)
HSLhsl(256, 50%, 36%)
HSVhsv(256, 66%, 54%)
CMYKcmyk(48.9%, 66.4%, 0%, 46.3%)
CIE-LABlab(26.91, 34.32, -47.19)
CIE-LCHlch(26.91, 58.35, 306.02°)
OKLaboklab(38.47% 0.0494 -0.1351)
OKLCHoklch(38.47% 0.144 290.1)
XYZxyz(8.0169, 5.0619, 24.2167)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E89 #71892E
analogous
#2E4389 #462E89 #732E89
triadic
#462E89 #89462E #2E8946
tetradic
#462E89 #892E43 #71892E #2E8973
square
#462E89 #892E43 #71892E #2E8973
split-complementary
#462E89 #89732E #43892E
monochromatic
#170F2D #2F1F5B #462E89 #5D3DB7 #8166CC

Accessibility & contrast

On white

10.44
#462E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#462E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E89
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E89#FFFFFF#000000##FFFFFF
##462E891.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#304457
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462e89;
/* rgb */ color: rgb(70, 46, 137);
/* oklch */ color: oklch(38.5% 0.144 290.1);
Tailwind
colors: {
  custom: {
    50: '#8068ac',
    500: '#462e89',
    950: '#000000',
  },
}
SCSS
$custom: #462e89;
$custom-light: #8068ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462e89",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 255.824,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38466,
    "c": 0.14386,
    "h": 290.1
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#462E89
secondary
#9DB260
accent
#D94FB5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462E89

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

Preview Lab → · Contrast checker → · Palette generator →

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