#462371#462371

#462371 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.129 H 300.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#462371
RGBrgb(70, 35, 113)
HSLhsl(267, 53%, 29%)
HSVhsv(267, 69%, 44%)
CMYKcmyk(38.1%, 69%, 0%, 55.7%)
CIE-LABlab(22.64, 33.70, -38.94)
CIE-LCHlch(22.64, 51.50, 310.87°)
OKLaboklab(34.78% 0.065 -0.1108)
OKLCHoklch(34.78% 0.129 300.4)
XYZxyz(6.1067, 3.6964, 16.0113)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462371 #4E7123
analogous
#232771 #462371 #6D2371
triadic
#462371 #714623 #237146
tetradic
#462371 #712327 #4E7123 #23716D
square
#462371 #712327 #4E7123 #23716D
split-complementary
#462371 #716D23 #277123
monochromatic
#0E0717 #291542 #462371 #6331A0 #8148C6

Accessibility & contrast

On white

12.07
#462371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#462371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462371
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462371#FFFFFF#000000##FFFFFF
##4623711.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#00366F
Tritanopia (blue-blind)
#3D3546
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462371;
/* rgb */ color: rgb(70, 35, 113);
/* oklch */ color: oklch(34.8% 0.129 300.4);
Tailwind
colors: {
  custom: {
    50: '#7d609a',
    500: '#462371',
    950: '#000000',
  },
}
SCSS
$custom: #462371;
$custom-light: #7d609a;
$custom-dark: #000000;
JSON
{
  "hex": "#462371",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 266.923,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34782,
    "c": 0.1285,
    "h": 300.4
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#462371
secondary
#7CA44C
accent
#DC4C9B
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462371

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

Preview Lab → · Contrast checker → · Palette generator →

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