#431672#431672

#431672 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.146 H 300.5°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#431672
RGBrgb(67, 22, 114)
HSLhsl(269, 68%, 27%)
HSVhsv(269, 81%, 45%)
CMYKcmyk(41.2%, 80.7%, 0%, 55.3%)
CIE-LABlab(19.97, 39.95, -43.95)
CIE-LCHlch(19.97, 59.39, 312.27°)
OKLaboklab(32.82% 0.0741 -0.1256)
OKLCHoklch(32.82% 0.146 300.5)
XYZxyz(5.6382, 2.9820, 16.1949)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431672 #457216
analogous
#161772 #431672 #711672
triadic
#431672 #724316 #167243
tetradic
#431672 #721617 #457216 #167271
square
#431672 #721617 #457216 #167271
split-complementary
#431672 #727116 #177216
monochromatic
#0F051A #250C3F #431672 #6120A5 #7F2CD6

Accessibility & contrast

On white

13.15
#431672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#431672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431672
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431672#FFFFFF#000000##FFFFFF
##4316721.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#382F43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #431672;
/* rgb */ color: rgb(67, 22, 114);
/* oklch */ color: oklch(32.8% 0.146 300.5);
Tailwind
colors: {
  custom: {
    50: '#7c599b',
    500: '#431672',
    950: '#000000',
  },
}
SCSS
$custom: #431672;
$custom-light: #7c599b;
$custom-dark: #000000;
JSON
{
  "hex": "#431672",
  "rgb": {
    "r": 67,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 269.348,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32823,
    "c": 0.14579,
    "h": 300.5
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#431672
secondary
#73A83C
accent
#EB3D96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431672

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

Preview Lab → · Contrast checker → · Palette generator →

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