#431270#431270

#431270 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.148 H 301.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#431270
RGBrgb(67, 18, 112)
HSLhsl(271, 72%, 25%)
HSVhsv(271, 84%, 44%)
CMYKcmyk(40.2%, 83.9%, 0%, 56.1%)
CIE-LABlab(19.21, 41.11, -43.90)
CIE-LCHlch(19.21, 60.15, 313.12°)
OKLaboklab(32.23% 0.0781 -0.1254)
OKLCHoklch(32.23% 0.148 301.9)
XYZxyz(5.4550, 2.7957, 15.5783)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431270 #3F7012
analogous
#141270 #431270 #70126E
triadic
#431270 #704312 #127043
tetradic
#431270 #701412 #3F7012 #126E70
square
#431270 #701412 #3F7012 #126E70
split-complementary
#431270 #6E7012 #127014
monochromatic
#10041A #230A3B #431270 #631AA5 #8223D9

Accessibility & contrast

On white

13.47
#431270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#431270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431270
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431270#FFFFFF#000000##FFFFFF
##4312701.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#392C42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #431270;
/* rgb */ color: rgb(67, 18, 112);
/* oklch */ color: oklch(32.2% 0.148 301.9);
Tailwind
colors: {
  custom: {
    50: '#7c579a',
    500: '#431270',
    950: '#000000',
  },
}
SCSS
$custom: #431270;
$custom-light: #7c579a;
$custom-dark: #000000;
JSON
{
  "hex": "#431270",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 271.277,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32232,
    "c": 0.14775,
    "h": 301.9
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#431270
secondary
#6DA737
accent
#EF3990
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431270

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

Preview Lab → · Contrast checker → · Palette generator →

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