#462367#462367

#462367 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 34.0% C 0.116 H 304.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#462367
RGBrgb(70, 35, 103)
HSLhsl(271, 49%, 27%)
HSVhsv(271, 66%, 40%)
CMYKcmyk(32%, 66%, 0%, 59.6%)
CIE-LABlab(21.88, 30.97, -33.69)
CIE-LCHlch(21.88, 45.76, 312.59°)
OKLaboklab(33.99% 0.0659 -0.0954)
OKLCHoklch(33.99% 0.116 304.6)
XYZxyz(5.5745, 3.4835, 13.2080)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462367 #446723
analogous
#242367 #462367 #672366
triadic
#462367 #674623 #236746
tetradic
#462367 #672423 #446723 #236667
square
#462367 #672423 #446723 #236667
split-complementary
#462367 #666723 #236724
monochromatic
#100817 #271339 #462367 #653395 #8445C0

Accessibility & contrast

On white

12.38
#462367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#462367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462367
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462367#FFFFFF#000000##FFFFFF
##4623671.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#123465
Tritanopia (blue-blind)
#403141
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #462367;
/* rgb */ color: rgb(70, 35, 103);
/* oklch */ color: oklch(34.0% 0.116 304.6);
Tailwind
colors: {
  custom: {
    50: '#7c6093',
    500: '#462367',
    950: '#000000',
  },
}
SCSS
$custom: #462367;
$custom-light: #7c6093;
$custom-dark: #000000;
JSON
{
  "hex": "#462367",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 103
  },
  "hsl": {
    "h": 270.882,
    "s": 49.275,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33995,
    "c": 0.11594,
    "h": 304.6
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#462367
secondary
#729B4B
accent
#D94F92
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #462367

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

Preview Lab → · Contrast checker → · Palette generator →

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