#431163#431163

#431163 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.135 H 307.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#431163
RGBrgb(67, 17, 99)
HSLhsl(277, 71%, 23%)
HSVhsv(277, 83%, 39%)
CMYKcmyk(32.3%, 82.8%, 0%, 61.2%)
CIE-LABlab(17.90, 38.28, -37.53)
CIE-LCHlch(17.90, 53.61, 315.57°)
OKLaboklab(30.95% 0.0828 -0.1067)
OKLCHoklch(30.95% 0.135 307.8)
XYZxyz(4.7668, 2.4951, 12.0324)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431163 #316311
analogous
#1A1163 #431163 #63115A
triadic
#431163 #634311 #116343
tetradic
#431163 #631A11 #316311 #115A63
square
#431163 #631A11 #316311 #115A63
split-complementary
#431163 #5A6311 #11631A
monochromatic
#12041A #20082F #431163 #661A97 #8A23CB

Accessibility & contrast

On white

14.01
#431163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#431163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431163
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431163#FFFFFF#000000##FFFFFF
##4311631.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#3E263A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #431163;
/* rgb */ color: rgb(67, 17, 99);
/* oklch */ color: oklch(31.0% 0.135 307.8);
Tailwind
colors: {
  custom: {
    50: '#7b5690',
    500: '#431163',
    950: '#000000',
  },
}
SCSS
$custom: #431163;
$custom-light: #7b5690;
$custom-dark: #000000;
JSON
{
  "hex": "#431163",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 276.585,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30954,
    "c": 0.13504,
    "h": 307.8
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#431163
secondary
#5D9B34
accent
#ED3A80
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #431163

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

Preview Lab → · Contrast checker → · Palette generator →

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