#431674#431674

#431674 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.148 H 299.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#431674
RGBrgb(67, 22, 116)
HSLhsl(269, 68%, 27%)
HSVhsv(269, 81%, 45%)
CMYKcmyk(42.2%, 81%, 0%, 54.5%)
CIE-LABlab(20.16, 40.47, -44.94)
CIE-LCHlch(20.16, 60.48, 312.01°)
OKLaboklab(33.01% 0.0735 -0.1285)
OKLCHoklch(33.01% 0.148 299.8)
XYZxyz(5.7532, 3.0280, 16.8010)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431674 #477416
analogous
#161874 #431674 #721674
triadic
#431674 #744316 #167443
tetradic
#431674 #741618 #477416 #167472
square
#431674 #741618 #477416 #167472
split-complementary
#431674 #747216 #187416
monochromatic
#0F051A #250C41 #431674 #6120A7 #7F2DD7

Accessibility & contrast

On white

13.08
#431674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#431674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431674
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431674#FFFFFF#000000##FFFFFF
##4316741.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#372F45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431674;
/* rgb */ color: rgb(67, 22, 116);
/* oklch */ color: oklch(33.0% 0.148 299.8);
Tailwind
colors: {
  custom: {
    50: '#7d599d',
    500: '#431674',
    950: '#000000',
  },
}
SCSS
$custom: #431674;
$custom-light: #7d599d;
$custom-dark: #000000;
JSON
{
  "hex": "#431674",
  "rgb": {
    "r": 67,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 268.723,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33009,
    "c": 0.148,
    "h": 299.8
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#431674
secondary
#75AA3C
accent
#EB3D98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431674

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

Preview Lab → · Contrast checker → · Palette generator →

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