#462B71#462B71

#462B71 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.1% C 0.116 H 298.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#462B71
RGBrgb(70, 43, 113)
HSLhsl(263, 45%, 31%)
HSVhsv(263, 62%, 44%)
CMYKcmyk(38.1%, 61.9%, 0%, 55.7%)
CIE-LABlab(24.39, 28.99, -36.12)
CIE-LCHlch(24.39, 46.31, 308.75°)
OKLaboklab(36.05% 0.0548 -0.1025)
OKLCHoklch(36.05% 0.116 298.1)
XYZxyz(6.3696, 4.2220, 16.0989)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B71 #56712B
analogous
#2B3371 #462B71 #692B71
triadic
#462B71 #71462B #2B7146
tetradic
#462B71 #712B33 #56712B #2B7169
square
#462B71 #712B33 #56712B #2B7169
split-complementary
#462B71 #71692B #33712B
monochromatic
#0F0918 #2B1A45 #462B71 #613C9D #7F57BF

Accessibility & contrast

On white

11.39
#462B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#462B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B71
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B71#FFFFFF#000000##FFFFFF
##462B711.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A73
Deuteranopia (green-blind)
#11396F
Tritanopia (blue-blind)
#3C3A49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462b71;
/* rgb */ color: rgb(70, 43, 113);
/* oklch */ color: oklch(36.1% 0.116 298.1);
Tailwind
colors: {
  custom: {
    50: '#7d659a',
    500: '#462b71',
    950: '#000000',
  },
}
SCSS
$custom: #462b71;
$custom-light: #7d659a;
$custom-dark: #000000;
JSON
{
  "hex": "#462b71",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 263.143,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36052,
    "c": 0.11626,
    "h": 298.1
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#462B71
secondary
#85A355
accent
#D553A3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #462B71

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

Preview Lab → · Contrast checker → · Palette generator →

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