#462374#462374

#462374 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.132 H 299.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#462374
RGBrgb(70, 35, 116)
HSLhsl(266, 54%, 30%)
HSVhsv(266, 70%, 45%)
CMYKcmyk(39.7%, 69.8%, 0%, 54.5%)
CIE-LABlab(22.88, 34.54, -40.48)
CIE-LCHlch(22.88, 53.21, 310.47°)
OKLaboklab(35.03% 0.0647 -0.1154)
OKLCHoklch(35.03% 0.132 299.3)
XYZxyz(6.2784, 3.7650, 16.9156)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462374 #517423
analogous
#232974 #462374 #6F2374
triadic
#462374 #744623 #237446
tetradic
#462374 #742329 #517423 #23746F
square
#462374 #742329 #517423 #23746F
split-complementary
#462374 #746F23 #297423
monochromatic
#0E0718 #2A1545 #462374 #6231A3 #8049C8

Accessibility & contrast

On white

11.98
#462374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#462374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462374
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462374#FFFFFF#000000##FFFFFF
##4623741.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#3B3648
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462374;
/* rgb */ color: rgb(70, 35, 116);
/* oklch */ color: oklch(35.0% 0.132 299.3);
Tailwind
colors: {
  custom: {
    50: '#7e609d',
    500: '#462374',
    950: '#000000',
  },
}
SCSS
$custom: #462374;
$custom-light: #7e609d;
$custom-dark: #000000;
JSON
{
  "hex": "#462374",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 265.926,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35028,
    "c": 0.13225,
    "h": 299.3
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#462374
secondary
#80A74C
accent
#DD4B9E
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462374

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

Preview Lab → · Contrast checker → · Palette generator →

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