#43177E#43177E

#43177E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.158 H 296.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#43177E
RGBrgb(67, 23, 126)
HSLhsl(266, 69%, 29%)
HSVhsv(266, 82%, 49%)
CMYKcmyk(46.8%, 81.7%, 0%, 50.6%)
CIE-LABlab(21.25, 42.69, -49.53)
CIE-LCHlch(21.25, 65.39, 310.76°)
OKLaboklab(34.07% 0.0695 -0.142)
OKLCHoklch(34.07% 0.158 296.1)
XYZxyz(6.3860, 3.3123, 20.0375)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43177E #527E17
analogous
#171F7E #43177E #77177E
triadic
#43177E #7E4317 #177E43
tetradic
#43177E #7E171F #527E17 #177E77
square
#43177E #7E171F #527E17 #177E77
split-complementary
#43177E #7E7717 #1F7E17
monochromatic
#0E051A #270E4A #43177E #5F20B2 #7C35DA

Accessibility & contrast

On white

12.63
#43177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#43177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43177E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43177E#FFFFFF#000000##FFFFFF
##43177E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#33344B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #43177e;
/* rgb */ color: rgb(67, 23, 126);
/* oklch */ color: oklch(34.1% 0.158 296.1);
Tailwind
colors: {
  custom: {
    50: '#7e5aa4',
    500: '#43177e',
    950: '#000000',
  },
}
SCSS
$custom: #43177e;
$custom-light: #7e5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#43177e",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 265.631,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34065,
    "c": 0.15807,
    "h": 296.1
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#43177E
secondary
#81B33E
accent
#EC3CA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #43177E

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

Preview Lab → · Contrast checker → · Palette generator →

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