#462078#462078

#462078 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.141 H 298.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#462078
RGBrgb(70, 32, 120)
HSLhsl(266, 58%, 30%)
HSVhsv(266, 73%, 47%)
CMYKcmyk(41.7%, 73.3%, 0%, 52.9%)
CIE-LABlab(22.62, 37.27, -43.46)
CIE-LCHlch(22.62, 57.25, 310.62°)
OKLaboklab(34.95% 0.0674 -0.1241)
OKLCHoklch(34.95% 0.141 298.5)
XYZxyz(6.4316, 3.6911, 18.1393)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462078 #527820
analogous
#202678 #462078 #722078
triadic
#462078 #784620 #207846
tetradic
#462078 #782026 #527820 #207872
square
#462078 #782026 #527820 #207872
split-complementary
#462078 #787220 #267820
monochromatic
#0E0618 #2A1348 #462078 #622DA8 #8045CD

Accessibility & contrast

On white

12.08
#462078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#462078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462078
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462078#FFFFFF#000000##FFFFFF
##4620781.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#3A3649
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462078;
/* rgb */ color: rgb(70, 32, 120);
/* oklch */ color: oklch(34.9% 0.141 298.5);
Tailwind
colors: {
  custom: {
    50: '#7e5fa0',
    500: '#462078',
    950: '#000000',
  },
}
SCSS
$custom: #462078;
$custom-light: #7e5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#462078",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 265.909,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.1412,
    "h": 298.5
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#462078
secondary
#81AB48
accent
#E1479E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #462078

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

Preview Lab → · Contrast checker → · Palette generator →

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