#462673#462673

#462673 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.127 H 298.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#462673
RGBrgb(70, 38, 115)
HSLhsl(265, 50%, 30%)
HSVhsv(265, 67%, 45%)
CMYKcmyk(39.1%, 67%, 0%, 54.9%)
CIE-LABlab(23.43, 32.55, -38.96)
CIE-LCHlch(23.43, 50.77, 309.88°)
OKLaboklab(35.4% 0.0611 -0.1109)
OKLCHoklch(35.4% 0.127 298.9)
XYZxyz(6.3126, 3.9260, 16.6416)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462673 #537326
analogous
#262C73 #462673 #6D2673
triadic
#462673 #734626 #267346
tetradic
#462673 #73262C #537326 #26736D
square
#462673 #73262C #537326 #26736D
split-complementary
#462673 #736D26 #2C7326
monochromatic
#0E0817 #2A1745 #462673 #6235A1 #804FC5

Accessibility & contrast

On white

11.76
#462673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#462673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462673
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462673#FFFFFF#000000##FFFFFF
##4626731.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#3C3749
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462673;
/* rgb */ color: rgb(70, 38, 115);
/* oklch */ color: oklch(35.4% 0.127 298.9);
Tailwind
colors: {
  custom: {
    50: '#7d629c',
    500: '#462673',
    950: '#000000',
  },
}
SCSS
$custom: #462673;
$custom-light: #7d629c;
$custom-dark: #000000;
JSON
{
  "hex": "#462673",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 264.935,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.35396,
    "c": 0.12662,
    "h": 298.9
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#462673
secondary
#82A64F
accent
#DA4EA0
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462673

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

Preview Lab → · Contrast checker → · Palette generator →

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