#462079#462079

#462079 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.142 H 298.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#462079
RGBrgb(70, 32, 121)
HSLhsl(266, 58%, 30%)
HSVhsv(266, 74%, 47%)
CMYKcmyk(42.1%, 73.6%, 0%, 52.5%)
CIE-LABlab(22.71, 37.55, -43.96)
CIE-LCHlch(22.71, 57.81, 310.50°)
OKLaboklab(35.03% 0.0672 -0.1256)
OKLCHoklch(35.03% 0.142 298.1)
XYZxyz(6.4926, 3.7155, 18.4605)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462079 #537920
analogous
#202679 #462079 #732079
triadic
#462079 #794620 #207946
tetradic
#462079 #792026 #537920 #207973
square
#462079 #792026 #537920 #207973
split-complementary
#462079 #797320 #267920
monochromatic
#0E0618 #2A1349 #462079 #622DA9 #8045CE

Accessibility & contrast

On white

12.05
#462079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462079
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462079#FFFFFF#000000##FFFFFF
##4620791.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#39364A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462079;
/* rgb */ color: rgb(70, 32, 121);
/* oklch */ color: oklch(35.0% 0.142 298.1);
Tailwind
colors: {
  custom: {
    50: '#7e5fa0',
    500: '#462079',
    950: '#000000',
  },
}
SCSS
$custom: #462079;
$custom-light: #7e5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#462079",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 265.618,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.35035,
    "c": 0.1424,
    "h": 298.1
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#462079
secondary
#82AC49
accent
#E1469F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #462079

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

Preview Lab → · Contrast checker → · Palette generator →

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