#431273#431273

#431273 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.151 H 300.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#431273
RGBrgb(67, 18, 115)
HSLhsl(270, 73%, 26%)
HSVhsv(270, 84%, 45%)
CMYKcmyk(41.7%, 84.3%, 0%, 54.9%)
CIE-LABlab(19.49, 41.87, -45.38)
CIE-LCHlch(19.49, 61.75, 312.70°)
OKLaboklab(32.52% 0.0771 -0.1297)
OKLCHoklch(32.52% 0.151 300.7)
XYZxyz(5.6248, 2.8637, 16.4727)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431273 #427312
analogous
#121273 #431273 #731272
triadic
#431273 #734312 #127343
tetradic
#431273 #731212 #427312 #127273
square
#431273 #731212 #427312 #127273
split-complementary
#431273 #727312 #127312
monochromatic
#0F041A #240A3E #431273 #621AA8 #8123DD

Accessibility & contrast

On white

13.35
#431273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431273
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431273#FFFFFF#000000##FFFFFF
##4312731.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431273;
/* rgb */ color: rgb(67, 18, 115);
/* oklch */ color: oklch(32.5% 0.151 300.7);
Tailwind
colors: {
  custom: {
    50: '#7d579c',
    500: '#431273',
    950: '#000000',
  },
}
SCSS
$custom: #431273;
$custom-light: #7d579c;
$custom-dark: #000000;
JSON
{
  "hex": "#431273",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 270.309,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32516,
    "c": 0.15095,
    "h": 300.7
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#431273
secondary
#70AA37
accent
#F03893
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431273

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

Preview Lab → · Contrast checker → · Palette generator →

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