#462779#462779

#462779 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.133 H 296.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#462779
RGBrgb(70, 39, 121)
HSLhsl(263, 51%, 31%)
HSVhsv(263, 68%, 47%)
CMYKcmyk(42.1%, 67.8%, 0%, 52.5%)
CIE-LABlab(24.11, 33.68, -41.68)
CIE-LCHlch(24.11, 53.59, 308.94°)
OKLaboklab(36.04% 0.0593 -0.1189)
OKLCHoklch(36.04% 0.133 296.5)
XYZxyz(6.7016, 4.1335, 18.5302)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462779 #5A7927
analogous
#273179 #462779 #6F2779
triadic
#462779 #794627 #277946
tetradic
#462779 #792731 #5A7927 #27796F
square
#462779 #792731 #5A7927 #27796F
split-complementary
#462779 #796F27 #317927
monochromatic
#10091C #2B184B #462779 #6136A7 #7F53C8

Accessibility & contrast

On white

11.50
#462779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#462779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462779
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462779#FFFFFF#000000##FFFFFF
##4627791.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#393A4C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462779;
/* rgb */ color: rgb(70, 39, 121);
/* oklch */ color: oklch(36.0% 0.133 296.5);
Tailwind
colors: {
  custom: {
    50: '#7e63a0',
    500: '#462779',
    950: '#000000',
  },
}
SCSS
$custom: #462779;
$custom-light: #7e63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#462779",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 262.683,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.13285,
    "h": 296.5
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#462779
secondary
#89AB51
accent
#DB4DA5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050F
muted
#7C7A7E

Preview Lab

Preview with #462779

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

Preview Lab → · Contrast checker → · Palette generator →

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