#462C78#462C78

#462C78 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.8% C 0.124 H 295.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#462C78
RGBrgb(70, 44, 120)
HSLhsl(261, 46%, 32%)
HSVhsv(261, 63%, 47%)
CMYKcmyk(41.7%, 63.3%, 0%, 52.9%)
CIE-LABlab(25.14, 30.42, -39.38)
CIE-LCHlch(25.14, 49.76, 307.68°)
OKLaboklab(36.76% 0.0532 -0.1121)
OKLCHoklch(36.76% 0.124 295.4)
XYZxyz(6.8157, 4.4594, 18.2673)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C78 #5E782C
analogous
#2C3878 #462C78 #6C2C78
triadic
#462C78 #78462C #2C7846
tetradic
#462C78 #782C38 #5E782C #2C786C
square
#462C78 #782C38 #5E782C #2C786C
split-complementary
#462C78 #786C2C #38782C
monochromatic
#120B1E #2C1C4B #462C78 #603CA5 #7F5BC3

Accessibility & contrast

On white

11.10
#462C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#462C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C78
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C78#FFFFFF#000000##FFFFFF
##462C781.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#043A76
Tritanopia (blue-blind)
#393D4D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462c78;
/* rgb */ color: rgb(70, 44, 120);
/* oklch */ color: oklch(36.8% 0.124 295.4);
Tailwind
colors: {
  custom: {
    50: '#7d669f',
    500: '#462c78',
    950: '#000000',
  },
}
SCSS
$custom: #462c78;
$custom-light: #7d669f;
$custom-dark: #000000;
JSON
{
  "hex": "#462c78",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 260.526,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36758,
    "c": 0.12413,
    "h": 295.4
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#462C78
secondary
#8DA957
accent
#D652A9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #462C78

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

Preview Lab → · Contrast checker → · Palette generator →

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