#462179#462179

#462179 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.141 H 297.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#462179
RGBrgb(70, 33, 121)
HSLhsl(265, 57%, 30%)
HSVhsv(265, 73%, 47%)
CMYKcmyk(42.1%, 72.7%, 0%, 52.5%)
CIE-LABlab(22.90, 37.02, -43.65)
CIE-LCHlch(22.90, 57.23, 310.30°)
OKLaboklab(35.17% 0.0661 -0.1247)
OKLCHoklch(35.17% 0.141 297.9)
XYZxyz(6.5199, 3.7702, 18.4697)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462179 #547921
analogous
#212879 #462179 #722179
triadic
#462179 #794621 #217946
tetradic
#462179 #792128 #547921 #217972
square
#462179 #792128 #547921 #217972
split-complementary
#462179 #797221 #287921
monochromatic
#0E0719 #2A1449 #462179 #622EA9 #8047CD

Accessibility & contrast

On white

11.97
#462179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#462179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462179
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462179#FFFFFF#000000##FFFFFF
##4621791.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#39374A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462179;
/* rgb */ color: rgb(70, 33, 121);
/* oklch */ color: oklch(35.2% 0.141 297.9);
Tailwind
colors: {
  custom: {
    50: '#7e5fa0',
    500: '#462179',
    950: '#000000',
  },
}
SCSS
$custom: #462179;
$custom-light: #7e5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#462179",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 265.227,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35169,
    "c": 0.14111,
    "h": 297.9
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#462179
secondary
#83AC4A
accent
#E047A0
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #462179

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

Preview Lab → · Contrast checker → · Palette generator →

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