#431174#431174

#431174 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.153 H 300.5°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#431174
RGBrgb(67, 17, 116)
HSLhsl(270, 74%, 26%)
HSVhsv(270, 85%, 45%)
CMYKcmyk(42.2%, 85.3%, 0%, 54.5%)
CIE-LABlab(19.45, 42.51, -46.08)
CIE-LCHlch(19.45, 62.70, 312.69°)
OKLaboklab(32.52% 0.0776 -0.1318)
OKLCHoklch(32.52% 0.153 300.5)
XYZxyz(5.6668, 2.8551, 16.7721)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431174 #427411
analogous
#111174 #431174 #741173
triadic
#431174 #744311 #117443
tetradic
#431174 #741111 #427411 #117374
square
#431174 #741111 #427411 #117374
split-complementary
#431174 #737411 #117411
monochromatic
#0F041B #24093F #431174 #6219A9 #8121DE

Accessibility & contrast

On white

13.37
#431174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#431174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431174
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431174#FFFFFF#000000##FFFFFF
##4311741.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#372D44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #431174;
/* rgb */ color: rgb(67, 17, 116);
/* oklch */ color: oklch(32.5% 0.153 300.5);
Tailwind
colors: {
  custom: {
    50: '#7d579d',
    500: '#431174',
    950: '#000000',
  },
}
SCSS
$custom: #431174;
$custom-light: #7d579d;
$custom-dark: #000000;
JSON
{
  "hex": "#431174",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 270.303,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32521,
    "c": 0.15293,
    "h": 300.5
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#431174
secondary
#70AB36
accent
#F13793
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431174

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

Preview Lab → · Contrast checker → · Palette generator →

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