#462788#462788

#462788 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.152 H 292.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#462788
RGBrgb(70, 39, 136)
HSLhsl(259, 55%, 34%)
HSVhsv(259, 71%, 53%)
CMYKcmyk(48.5%, 71.3%, 0%, 46.7%)
CIE-LABlab(25.35, 38.05, -49.11)
CIE-LCHlch(25.35, 62.12, 307.77°)
OKLaboklab(37.32% 0.057 -0.1407)
OKLCHoklch(37.32% 0.152 292)
XYZxyz(7.6940, 4.5304, 23.7568)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462788 #698827
analogous
#273988 #462788 #772788
triadic
#462788 #884627 #278846
tetradic
#462788 #882739 #698827 #278877
square
#462788 #882739 #698827 #278877
split-complementary
#462788 #887727 #398827
monochromatic
#150C29 #2E1958 #462788 #5E35B8 #7F5AD0

Accessibility & contrast

On white

11.02
#462788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#462788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462788
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462788#FFFFFF#000000##FFFFFF
##4627881.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#323F54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462788;
/* rgb */ color: rgb(70, 39, 136);
/* oklch */ color: oklch(37.3% 0.152 292.0);
Tailwind
colors: {
  custom: {
    50: '#8064ac',
    500: '#462788',
    950: '#000000',
  },
}
SCSS
$custom: #462788;
$custom-light: #8064ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462788",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 259.175,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3732,
    "c": 0.15182,
    "h": 292
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#462788
secondary
#96B556
accent
#DF49AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #462788

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

Preview Lab → · Contrast checker → · Palette generator →

#462788 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva