#431272#431272

#431272 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.150 H 301.1°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#431272
RGBrgb(67, 18, 114)
HSLhsl(271, 73%, 26%)
HSVhsv(271, 84%, 45%)
CMYKcmyk(41.2%, 84.2%, 0%, 55.3%)
CIE-LABlab(19.39, 41.62, -44.89)
CIE-LCHlch(19.39, 61.22, 312.84°)
OKLaboklab(32.42% 0.0775 -0.1283)
OKLCHoklch(32.42% 0.15 301.1)
XYZxyz(5.5676, 2.8408, 16.1713)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431272 #417212
analogous
#131272 #431272 #721271
triadic
#431272 #724312 #127243
tetradic
#431272 #721312 #417212 #127172
square
#431272 #721312 #417212 #127172
split-complementary
#431272 #717212 #127213
monochromatic
#10041A #240A3D #431272 #621AA7 #8123DC

Accessibility & contrast

On white

13.39
#431272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431272
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431272#FFFFFF#000000##FFFFFF
##4312721.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#382D43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #431272;
/* rgb */ color: rgb(67, 18, 114);
/* oklch */ color: oklch(32.4% 0.150 301.1);
Tailwind
colors: {
  custom: {
    50: '#7d579b',
    500: '#431272',
    950: '#000000',
  },
}
SCSS
$custom: #431272;
$custom-light: #7d579b;
$custom-dark: #000000;
JSON
{
  "hex": "#431272",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 270.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32421,
    "c": 0.14988,
    "h": 301.1
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#431272
secondary
#6FA937
accent
#EF3892
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431272

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

Preview Lab → · Contrast checker → · Palette generator →

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