#431772#431772

#431772 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.145 H 300.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#431772
RGBrgb(67, 23, 114)
HSLhsl(269, 66%, 27%)
HSVhsv(269, 80%, 45%)
CMYKcmyk(41.2%, 79.8%, 0%, 55.3%)
CIE-LABlab(20.13, 39.50, -43.69)
CIE-LCHlch(20.13, 58.90, 312.12°)
OKLaboklab(32.93% 0.0732 -0.1248)
OKLCHoklch(32.93% 0.145 300.4)
XYZxyz(5.6576, 3.0209, 16.2014)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431772 #467217
analogous
#171972 #431772 #711772
triadic
#431772 #724317 #177243
tetradic
#431772 #721719 #467217 #177271
square
#431772 #721719 #467217 #177271
split-complementary
#431772 #727117 #197217
monochromatic
#0F0519 #250D3F #431772 #6121A5 #7F2ED5

Accessibility & contrast

On white

13.09
#431772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431772
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431772#FFFFFF#000000##FFFFFF
##4317721.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431772;
/* rgb */ color: rgb(67, 23, 114);
/* oklch */ color: oklch(32.9% 0.145 300.4);
Tailwind
colors: {
  custom: {
    50: '#7c599b',
    500: '#431772',
    950: '#000000',
  },
}
SCSS
$custom: #431772;
$custom-light: #7c599b;
$custom-dark: #000000;
JSON
{
  "hex": "#431772",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 269.011,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32932,
    "c": 0.14468,
    "h": 300.4
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#431772
secondary
#74A83D
accent
#E93E97
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431772

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

Preview Lab → · Contrast checker → · Palette generator →

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