#43177A#43177A

#43177A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.154 H 297.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#43177A
RGBrgb(67, 23, 122)
HSLhsl(267, 68%, 28%)
HSVhsv(267, 81%, 48%)
CMYKcmyk(45.1%, 81.1%, 0%, 52.2%)
CIE-LABlab(20.87, 41.62, -47.61)
CIE-LCHlch(20.87, 63.24, 311.16°)
OKLaboklab(33.68% 0.0708 -0.1363)
OKLCHoklch(33.68% 0.154 297.4)
XYZxyz(6.1331, 3.2111, 18.7053)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43177A #4E7A17
analogous
#171C7A #43177A #74177A
triadic
#43177A #7A4317 #177A43
tetradic
#43177A #7A171C #4E7A17 #177A74
square
#43177A #7A171C #4E7A17 #177A74
split-complementary
#43177A #7A7417 #1C7A17
monochromatic
#0E051A #270D47 #43177A #5F21AD #7C33D9

Accessibility & contrast

On white

12.79
#43177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#43177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43177A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43177A#FFFFFF#000000##FFFFFF
##43177A1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#353248
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #43177a;
/* rgb */ color: rgb(67, 23, 122);
/* oklch */ color: oklch(33.7% 0.154 297.4);
Tailwind
colors: {
  custom: {
    50: '#7d5aa1',
    500: '#43177a',
    950: '#000000',
  },
}
SCSS
$custom: #43177a;
$custom-light: #7d5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#43177a",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 266.667,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33681,
    "c": 0.15363,
    "h": 297.4
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#43177A
secondary
#7DAF3E
accent
#EB3D9E
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #43177A

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

Preview Lab → · Contrast checker → · Palette generator →

#43177A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva