#462F89#462F89

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

Color values

HEX#462F89
RGBrgb(70, 47, 137)
HSLhsl(255, 49%, 36%)
HSVhsv(255, 66%, 54%)
CMYKcmyk(48.9%, 65.7%, 0%, 46.3%)
CIE-LABlab(27.13, 33.72, -46.83)
CIE-LCHlch(27.13, 57.71, 305.76°)
OKLaboklab(38.63% 0.0483 -0.134)
OKLCHoklch(38.63% 0.142 289.8)
XYZxyz(8.0564, 5.1409, 24.2299)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F89 #72892F
analogous
#2F4589 #462F89 #732F89
triadic
#462F89 #89462F #2F8946
tetradic
#462F89 #892F45 #72892F #2F8973
square
#462F89 #892F45 #72892F #2F8973
split-complementary
#462F89 #89732F #45892F
monochromatic
#17102E #2F1F5B #462F89 #5D3FB7 #8167CB

Accessibility & contrast

On white

10.35
#462F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#462F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F89
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F89#FFFFFF#000000##FFFFFF
##462F891.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462f89;
/* rgb */ color: rgb(70, 47, 137);
/* oklch */ color: oklch(38.6% 0.142 289.8);
Tailwind
colors: {
  custom: {
    50: '#7f69ac',
    500: '#462f89',
    950: '#000000',
  },
}
SCSS
$custom: #462f89;
$custom-light: #7f69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462f89",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 255.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38627,
    "c": 0.14249,
    "h": 289.8
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#462F89
secondary
#9EB262
accent
#D84FB5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462F89

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

Preview Lab → · Contrast checker → · Palette generator →

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