#431275#431275

#431275 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.153 H 300.0°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#431275
RGBrgb(67, 18, 117)
HSLhsl(270, 73%, 26%)
HSVhsv(270, 85%, 46%)
CMYKcmyk(42.7%, 84.6%, 0%, 54.1%)
CIE-LABlab(19.68, 42.38, -46.36)
CIE-LCHlch(19.68, 62.81, 312.44°)
OKLaboklab(32.71% 0.0765 -0.1326)
OKLCHoklch(32.71% 0.153 300)
XYZxyz(5.7411, 2.9102, 17.0854)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431275 #447512
analogous
#121375 #431275 #751275
triadic
#431275 #754312 #127543
tetradic
#431275 #751213 #447512 #127575
square
#431275 #751213 #447512 #127575
split-complementary
#431275 #757512 #137512
monochromatic
#0F041B #250A40 #431275 #611AAA #8024DD

Accessibility & contrast

On white

13.27
#431275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#431275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431275
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431275#FFFFFF#000000##FFFFFF
##4312751.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#372E44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #431275;
/* rgb */ color: rgb(67, 18, 117);
/* oklch */ color: oklch(32.7% 0.153 300.0);
Tailwind
colors: {
  custom: {
    50: '#7d579e',
    500: '#431275',
    950: '#000000',
  },
}
SCSS
$custom: #431275;
$custom-light: #7d579e;
$custom-dark: #000000;
JSON
{
  "hex": "#431275",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 269.697,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32707,
    "c": 0.15307,
    "h": 300
  },
  "luminance": 0.0291
}

Semantic roles & 50–950 ramp

primary
#431275
secondary
#72AC37
accent
#F03895
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #431275

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

Preview Lab → · Contrast checker → · Palette generator →

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