#431F6F#431F6F

#431F6F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.131 H 300.0°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#431F6F
RGBrgb(67, 31, 111)
HSLhsl(267, 56%, 28%)
HSVhsv(267, 72%, 44%)
CMYKcmyk(39.6%, 72.1%, 0%, 56.5%)
CIE-LABlab(21.29, 34.69, -39.87)
CIE-LCHlch(21.29, 52.85, 311.03°)
OKLaboklab(33.67% 0.0655 -0.1136)
OKLCHoklch(33.67% 0.131 300)
XYZxyz(5.6733, 3.3209, 15.3779)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F6F #4B6F1F
analogous
#1F236F #431F6F #6B1F6F
triadic
#431F6F #6F431F #1F6F43
tetradic
#431F6F #6F1F23 #4B6F1F #1F6F6B
square
#431F6F #6F1F23 #4B6F1F #1F6F6B
split-complementary
#431F6F #6F6B1F #236F1F
monochromatic
#0E0718 #26123F #431F6F #602C9F #7D3FC9

Accessibility & contrast

On white

12.62
#431F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#431F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F6F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F6F#FFFFFF#000000##FFFFFF
##431F6F1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#393244
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431f6f;
/* rgb */ color: rgb(67, 31, 111);
/* oklch */ color: oklch(33.7% 0.131 300.0);
Tailwind
colors: {
  custom: {
    50: '#7b5e99',
    500: '#431f6f',
    950: '#000000',
  },
}
SCSS
$custom: #431f6f;
$custom-light: #7b5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#431f6f",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 267,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33671,
    "c": 0.13116,
    "h": 300
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#431F6F
secondary
#7AA347
accent
#E0489B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431F6F

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

Preview Lab → · Contrast checker → · Palette generator →

#431F6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva