#431775#431775

#431775 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.148 H 299.2°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#431775
RGBrgb(67, 23, 117)
HSLhsl(268, 67%, 27%)
HSVhsv(268, 80%, 46%)
CMYKcmyk(42.7%, 80.3%, 0%, 54.1%)
CIE-LABlab(20.40, 40.29, -45.17)
CIE-LCHlch(20.40, 60.53, 311.73°)
OKLaboklab(33.21% 0.0723 -0.1292)
OKLCHoklch(33.21% 0.148 299.2)
XYZxyz(5.8312, 3.0904, 17.1155)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431775 #497517
analogous
#171A75 #431775 #721775
triadic
#431775 #754317 #177543
tetradic
#431775 #75171A #497517 #177572
square
#431775 #75171A #497517 #177572
split-complementary
#431775 #757217 #1A7517
monochromatic
#0F051A #260D42 #431775 #6021A8 #7E30D6

Accessibility & contrast

On white

12.98
#431775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#431775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431775
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431775#FFFFFF#000000##FFFFFF
##4317751.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#373045
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431775;
/* rgb */ color: rgb(67, 23, 117);
/* oklch */ color: oklch(33.2% 0.148 299.2);
Tailwind
colors: {
  custom: {
    50: '#7d5a9e',
    500: '#431775',
    950: '#000000',
  },
}
SCSS
$custom: #431775;
$custom-light: #7d5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#431775",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 268.085,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3321,
    "c": 0.14805,
    "h": 299.2
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#431775
secondary
#77AA3D
accent
#EA3E99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431775

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

Preview Lab → · Contrast checker → · Palette generator →

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