#431774#431774

#431774 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.147 H 299.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#431774
RGBrgb(67, 23, 116)
HSLhsl(268, 67%, 27%)
HSVhsv(268, 80%, 45%)
CMYKcmyk(42.2%, 80.2%, 0%, 54.5%)
CIE-LABlab(20.31, 40.03, -44.68)
CIE-LCHlch(20.31, 59.99, 311.86°)
OKLaboklab(33.12% 0.0726 -0.1277)
OKLCHoklch(33.12% 0.147 299.6)
XYZxyz(5.7727, 3.0670, 16.8075)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431774 #487417
analogous
#171A74 #431774 #711774
triadic
#431774 #744317 #177443
tetradic
#431774 #74171A #487417 #177471
square
#431774 #74171A #487417 #177471
split-complementary
#431774 #747117 #1A7417
monochromatic
#0F051A #260D41 #431774 #6021A7 #7E30D6

Accessibility & contrast

On white

13.02
#431774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#431774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431774
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431774#FFFFFF#000000##FFFFFF
##4317741.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431774;
/* rgb */ color: rgb(67, 23, 116);
/* oklch */ color: oklch(33.1% 0.147 299.6);
Tailwind
colors: {
  custom: {
    50: '#7d5a9d',
    500: '#431774',
    950: '#000000',
  },
}
SCSS
$custom: #431774;
$custom-light: #7d5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#431774",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 268.387,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33117,
    "c": 0.14692,
    "h": 299.6
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#431774
secondary
#76A93D
accent
#EA3E99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431774

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

Preview Lab → · Contrast checker → · Palette generator →

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