#43178F#43178F

#43178F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.177 H 291.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#43178F
RGBrgb(67, 23, 143)
HSLhsl(262, 72%, 33%)
HSVhsv(262, 84%, 56%)
CMYKcmyk(53.1%, 83.9%, 0%, 43.9%)
CIE-LABlab(22.96, 47.26, -57.40)
CIE-LCHlch(22.96, 74.35, 309.47°)
OKLaboklab(35.76% 0.0636 -0.165)
OKLCHoklch(35.76% 0.177 291.1)
XYZxyz(7.5776, 3.7889, 26.3133)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43178F #638F17
analogous
#17278F #43178F #7F178F
triadic
#43178F #8F4317 #178F43
tetradic
#43178F #8F1727 #638F17 #178F7F
square
#43178F #8F1727 #638F17 #178F7F
split-complementary
#43178F #8F7F17 #278F17
monochromatic
#120626 #2A0F5A #43178F #5C1FC4 #7B40E0

Accessibility & contrast

On white

11.95
#43178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#43178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43178F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43178F#FFFFFF#000000##FFFFFF
##43178F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#273B54
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #43178f;
/* rgb */ color: rgb(67, 23, 143);
/* oklch */ color: oklch(35.8% 0.177 291.1);
Tailwind
colors: {
  custom: {
    50: '#805bb1',
    500: '#43178f',
    950: '#000000',
  },
}
SCSS
$custom: #43178f;
$custom-light: #805bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#43178f",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 262,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35763,
    "c": 0.17684,
    "h": 291.1
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#43178F
secondary
#92C141
accent
#EF39AC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #43178F

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

Preview Lab → · Contrast checker → · Palette generator →

#43178F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva