#431874#431874

#431874 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.146 H 299.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#431874
RGBrgb(67, 24, 116)
HSLhsl(268, 66%, 27%)
HSVhsv(268, 79%, 45%)
CMYKcmyk(42.2%, 79.3%, 0%, 54.5%)
CIE-LABlab(20.47, 39.58, -44.42)
CIE-LCHlch(20.47, 59.49, 311.70°)
OKLaboklab(33.23% 0.0717 -0.127)
OKLCHoklch(33.23% 0.146 299.4)
XYZxyz(5.7930, 3.1074, 16.8142)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431874 #497418
analogous
#181B74 #431874 #711874
triadic
#431874 #744318 #187443
tetradic
#431874 #74181B #497418 #187471
square
#431874 #74181B #497418 #187471
split-complementary
#431874 #747118 #1B7418
monochromatic
#0F0519 #260E41 #431874 #6022A7 #7E32D5

Accessibility & contrast

On white

12.95
#431874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#431874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431874
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431874#FFFFFF#000000##FFFFFF
##4318741.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#373045
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431874;
/* rgb */ color: rgb(67, 24, 116);
/* oklch */ color: oklch(33.2% 0.146 299.4);
Tailwind
colors: {
  custom: {
    50: '#7d5a9d',
    500: '#431874',
    950: '#000000',
  },
}
SCSS
$custom: #431874;
$custom-light: #7d5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#431874",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 268.043,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.14581,
    "h": 299.4
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#431874
secondary
#77A93F
accent
#E93F99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431874

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

Preview Lab → · Contrast checker → · Palette generator →

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