#431876#431876

#431876 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.148 H 298.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#431876
RGBrgb(67, 24, 118)
HSLhsl(267, 66%, 28%)
HSVhsv(267, 80%, 46%)
CMYKcmyk(43.2%, 79.7%, 0%, 53.7%)
CIE-LABlab(20.65, 40.11, -45.41)
CIE-LCHlch(20.65, 60.58, 311.45°)
OKLaboklab(33.41% 0.0711 -0.1299)
OKLCHoklch(33.41% 0.148 298.7)
XYZxyz(5.9105, 3.1545, 17.4335)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431876 #4B7618
analogous
#181C76 #431876 #721876
triadic
#431876 #764318 #187643
tetradic
#431876 #76181C #4B7618 #187672
square
#431876 #76181C #4B7618 #187672
split-complementary
#431876 #767218 #1C7618
monochromatic
#0E0519 #260E43 #431876 #6022A9 #7D33D5

Accessibility & contrast

On white

12.88
#431876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#431876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431876
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431876#FFFFFF#000000##FFFFFF
##4318761.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#363146
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431876;
/* rgb */ color: rgb(67, 24, 118);
/* oklch */ color: oklch(33.4% 0.148 298.7);
Tailwind
colors: {
  custom: {
    50: '#7d5a9e',
    500: '#431876',
    950: '#000000',
  },
}
SCSS
$custom: #431876;
$custom-light: #7d5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#431876",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 267.447,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33413,
    "c": 0.14807,
    "h": 298.7
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#431876
secondary
#7AAB3F
accent
#E93F9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431876

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

Preview Lab → · Contrast checker → · Palette generator →

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