#462979#462979

#462979 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.3% C 0.130 H 296.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#462979
RGBrgb(70, 41, 121)
HSLhsl(262, 49%, 32%)
HSVhsv(262, 66%, 47%)
CMYKcmyk(42.1%, 66.1%, 0%, 52.5%)
CIE-LABlab(24.54, 32.51, -40.98)
CIE-LCHlch(24.54, 52.31, 308.43°)
OKLaboklab(36.35% 0.0569 -0.1168)
OKLCHoklch(36.35% 0.13 296)
XYZxyz(6.7690, 4.2683, 18.5527)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462979 #5C7929
analogous
#293479 #462979 #6E2979
triadic
#462979 #794629 #297946
tetradic
#462979 #792934 #5C7929 #29796E
square
#462979 #792934 #5C7929 #29796E
split-complementary
#462979 #796E29 #347929
monochromatic
#110A1E #2C1A4B #462979 #6038A7 #7F56C6

Accessibility & contrast

On white

11.33
#462979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#462979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462979
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462979#FFFFFF#000000##FFFFFF
##4629791.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#393B4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462979;
/* rgb */ color: rgb(70, 41, 121);
/* oklch */ color: oklch(36.3% 0.130 296.0);
Tailwind
colors: {
  custom: {
    50: '#7e64a0',
    500: '#462979',
    950: '#000000',
  },
}
SCSS
$custom: #462979;
$custom-light: #7e64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#462979",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 261.75,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36349,
    "c": 0.12995,
    "h": 296
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#462979
secondary
#8BAB53
accent
#D94FA7
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050F
muted
#7C7A7E

Preview Lab

Preview with #462979

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

Preview Lab → · Contrast checker → · Palette generator →

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