#462A71#462A71

#462A71 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.9% C 0.118 H 298.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#462A71
RGBrgb(70, 42, 113)
HSLhsl(264, 46%, 30%)
HSVhsv(264, 63%, 44%)
CMYKcmyk(38.1%, 62.8%, 0%, 55.7%)
CIE-LABlab(24.16, 29.60, -36.49)
CIE-LCHlch(24.16, 46.98, 309.05°)
OKLaboklab(35.88% 0.0561 -0.1036)
OKLCHoklch(35.88% 0.118 298.4)
XYZxyz(6.3336, 4.1502, 16.0870)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A71 #55712A
analogous
#2A3171 #462A71 #692A71
triadic
#462A71 #71462A #2A7146
tetradic
#462A71 #712A31 #55712A #2A7169
square
#462A71 #712A31 #55712A #2A7169
split-complementary
#462A71 #71692A #31712A
monochromatic
#0F0918 #2A1944 #462A71 #623B9E #7F55C0

Accessibility & contrast

On white

11.48
#462A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#462A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A71
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A71#FFFFFF#000000##FFFFFF
##462A711.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#0F396F
Tritanopia (blue-blind)
#3C3949
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462a71;
/* rgb */ color: rgb(70, 42, 113);
/* oklch */ color: oklch(35.9% 0.118 298.4);
Tailwind
colors: {
  custom: {
    50: '#7d659a',
    500: '#462a71',
    950: '#000000',
  },
}
SCSS
$custom: #462a71;
$custom-light: #7d659a;
$custom-dark: #000000;
JSON
{
  "hex": "#462a71",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 263.662,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35884,
    "c": 0.11785,
    "h": 298.4
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#462A71
secondary
#84A354
accent
#D552A2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #462A71

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

Preview Lab → · Contrast checker → · Palette generator →

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