#431374#431374

#431374 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.151 H 300.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#431374
RGBrgb(67, 19, 116)
HSLhsl(270, 72%, 26%)
HSVhsv(270, 84%, 45%)
CMYKcmyk(42.2%, 83.6%, 0%, 54.5%)
CIE-LABlab(19.72, 41.74, -45.65)
CIE-LCHlch(19.72, 61.85, 312.44°)
OKLaboklab(32.71% 0.076 -0.1305)
OKLCHoklch(32.71% 0.151 300.2)
XYZxyz(5.6992, 2.9199, 16.7830)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431374 #447413
analogous
#131374 #431374 #741374
triadic
#431374 #744313 #137443
tetradic
#431374 #741313 #447413 #137474
square
#431374 #741313 #447413 #137474
split-complementary
#431374 #747413 #137413
monochromatic
#0F041A #250A3F #431374 #611CA9 #8026DB

Accessibility & contrast

On white

13.26
#431374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#431374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431374
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431374#FFFFFF#000000##FFFFFF
##4313741.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#372E44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #431374;
/* rgb */ color: rgb(67, 19, 116);
/* oklch */ color: oklch(32.7% 0.151 300.2);
Tailwind
colors: {
  custom: {
    50: '#7d589d',
    500: '#431374',
    950: '#000000',
  },
}
SCSS
$custom: #431374;
$custom-light: #7d589d;
$custom-dark: #000000;
JSON
{
  "hex": "#431374",
  "rgb": {
    "r": 67,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 269.691,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32705,
    "c": 0.15106,
    "h": 300.2
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#431374
secondary
#72AA38
accent
#EF3995
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431374

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

Preview Lab → · Contrast checker → · Palette generator →

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