#462672#462672

#462672 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.125 H 299.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#462672
RGBrgb(70, 38, 114)
HSLhsl(265, 50%, 30%)
HSVhsv(265, 67%, 45%)
CMYKcmyk(38.6%, 66.7%, 0%, 55.3%)
CIE-LABlab(23.35, 32.26, -38.44)
CIE-LCHlch(23.35, 50.19, 310.01°)
OKLaboklab(35.32% 0.0612 -0.1094)
OKLCHoklch(35.32% 0.125 299.2)
XYZxyz(6.2554, 3.9032, 16.3401)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462672 #527226
analogous
#262C72 #462672 #6C2672
triadic
#462672 #724626 #267246
tetradic
#462672 #72262C #527226 #26726C
square
#462672 #72262C #527226 #26726C
split-complementary
#462672 #726C26 #2C7226
monochromatic
#0E0817 #2A1744 #462672 #6235A0 #804EC4

Accessibility & contrast

On white

11.79
#462672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#462672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462672
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462672#FFFFFF#000000##FFFFFF
##4626721.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#3C3748
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462672;
/* rgb */ color: rgb(70, 38, 114);
/* oklch */ color: oklch(35.3% 0.125 299.2);
Tailwind
colors: {
  custom: {
    50: '#7d629b',
    500: '#462672',
    950: '#000000',
  },
}
SCSS
$custom: #462672;
$custom-light: #7d629b;
$custom-dark: #000000;
JSON
{
  "hex": "#462672",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 265.263,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.12533,
    "h": 299.2
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#462672
secondary
#81A54F
accent
#DA4E9F
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462672

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

Preview Lab → · Contrast checker → · Palette generator →

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