#462E79#462E79

#462E79 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.122 H 294.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#462E79
RGBrgb(70, 46, 121)
HSLhsl(259, 45%, 33%)
HSVhsv(259, 62%, 47%)
CMYKcmyk(42.1%, 62%, 0%, 52.5%)
CIE-LABlab(25.67, 29.49, -39.15)
CIE-LCHlch(25.67, 49.01, 306.99°)
OKLaboklab(37.17% 0.0506 -0.1115)
OKLCHoklch(37.17% 0.122 294.4)
XYZxyz(6.9531, 4.6364, 18.6140)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E79 #61792E
analogous
#2E3B79 #462E79 #6B2E79
triadic
#462E79 #79462E #2E7946
tetradic
#462E79 #792E3B #61792E #2E796B
square
#462E79 #792E3B #61792E #2E796B
split-complementary
#462E79 #796B2E #3B792E
monochromatic
#130C20 #2C1D4D #462E79 #603FA5 #7F5FC2

Accessibility & contrast

On white

10.90
#462E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462E79
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E79#FFFFFF#000000##FFFFFF
##462E791.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#083C77
Tritanopia (blue-blind)
#393E4F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462e79;
/* rgb */ color: rgb(70, 46, 121);
/* oklch */ color: oklch(37.2% 0.122 294.4);
Tailwind
colors: {
  custom: {
    50: '#7d68a0',
    500: '#462e79',
    950: '#000000',
  },
}
SCSS
$custom: #462e79;
$custom-light: #7d68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#462e79",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 259.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.12242,
    "h": 294.4
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#462E79
secondary
#90A95A
accent
#D553AB
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #462E79

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

Preview Lab → · Contrast checker → · Palette generator →

#462E79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva