#462774#462774

#462774 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.126 H 298.2°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#462774
RGBrgb(70, 39, 116)
HSLhsl(264, 50%, 30%)
HSVhsv(264, 66%, 45%)
CMYKcmyk(39.7%, 66.4%, 0%, 54.5%)
CIE-LABlab(23.72, 32.25, -39.12)
CIE-LCHlch(23.72, 50.70, 309.50°)
OKLaboklab(35.63% 0.0598 -0.1114)
OKLCHoklch(35.63% 0.126 298.2)
XYZxyz(6.4029, 4.0140, 16.9571)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462774 #557427
analogous
#272E74 #462774 #6C2774
triadic
#462774 #744627 #277446
tetradic
#462774 #74272E #557427 #27746C
square
#462774 #74272E #557427 #27746C
split-complementary
#462774 #746C27 #2E7427
monochromatic
#0F0818 #2A1846 #462774 #6236A2 #7F51C4

Accessibility & contrast

On white

11.65
#462774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#462774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462774
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462774#FFFFFF#000000##FFFFFF
##4627741.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003872
Tritanopia (blue-blind)
#3B3849
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462774;
/* rgb */ color: rgb(70, 39, 116);
/* oklch */ color: oklch(35.6% 0.126 298.2);
Tailwind
colors: {
  custom: {
    50: '#7d639d',
    500: '#462774',
    950: '#000000',
  },
}
SCSS
$custom: #462774;
$custom-light: #7d639d;
$custom-dark: #000000;
JSON
{
  "hex": "#462774",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 264.156,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.12642,
    "h": 298.2
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#462774
secondary
#84A650
accent
#D94FA1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #462774

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

Preview Lab → · Contrast checker → · Palette generator →

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