#462F79#462F79

#462F79 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.3% C 0.121 H 294.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#462F79
RGBrgb(70, 47, 121)
HSLhsl(259, 44%, 33%)
HSVhsv(259, 61%, 47%)
CMYKcmyk(42.1%, 61.2%, 0%, 52.5%)
CIE-LABlab(25.91, 28.87, -38.77)
CIE-LCHlch(25.91, 48.34, 306.67°)
OKLaboklab(37.35% 0.0493 -0.1103)
OKLCHoklch(37.35% 0.121 294.1)
XYZxyz(6.9926, 4.7154, 18.6272)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F79 #62792F
analogous
#2F3D79 #462F79 #6B2F79
triadic
#462F79 #79462F #2F7946
tetradic
#462F79 #792F3D #62792F #2F796B
square
#462F79 #792F3D #62792F #2F796B
split-complementary
#462F79 #796B2F #3D792F
monochromatic
#130D21 #2C1E4D #462F79 #6040A5 #7F61C2

Accessibility & contrast

On white

10.81
#462F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#462F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F79
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F79#FFFFFF#000000##FFFFFF
##462F791.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#0B3C77
Tritanopia (blue-blind)
#393F4F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462f79;
/* rgb */ color: rgb(70, 47, 121);
/* oklch */ color: oklch(37.3% 0.121 294.1);
Tailwind
colors: {
  custom: {
    50: '#7d68a0',
    500: '#462f79',
    950: '#000000',
  },
}
SCSS
$custom: #462f79;
$custom-light: #7d68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#462f79",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 258.649,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37347,
    "c": 0.12087,
    "h": 294.1
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#462F79
secondary
#90A85B
accent
#D454AC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #462F79

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

Preview Lab → · Contrast checker → · Palette generator →

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