#43177F#43177F

#43177F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.159 H 295.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#43177F
RGBrgb(67, 23, 127)
HSLhsl(265, 69%, 29%)
HSVhsv(265, 82%, 50%)
CMYKcmyk(47.2%, 81.9%, 0%, 50.2%)
CIE-LABlab(21.35, 42.96, -50.01)
CIE-LCHlch(21.35, 65.93, 310.67°)
OKLaboklab(34.16% 0.0692 -0.1434)
OKLCHoklch(34.16% 0.159 295.8)
XYZxyz(6.4509, 3.3382, 20.3790)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43177F #537F17
analogous
#171F7F #43177F #77177F
triadic
#43177F #7F4317 #177F43
tetradic
#43177F #7F171F #537F17 #177F77
square
#43177F #7F171F #537F17 #177F77
split-complementary
#43177F #7F7717 #1F7F17
monochromatic
#0E051A #280E4B #43177F #5E20B3 #7C36DB

Accessibility & contrast

On white

12.59
#43177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#43177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43177F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43177F#FFFFFF#000000##FFFFFF
##43177F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#32344B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #43177f;
/* rgb */ color: rgb(67, 23, 127);
/* oklch */ color: oklch(34.2% 0.159 295.8);
Tailwind
colors: {
  custom: {
    50: '#7e5aa5',
    500: '#43177f',
    950: '#000000',
  },
}
SCSS
$custom: #43177f;
$custom-light: #7e5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#43177f",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 265.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34162,
    "c": 0.15919,
    "h": 295.8
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#43177F
secondary
#82B43E
accent
#EC3CA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #43177F

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

Preview Lab → · Contrast checker → · Palette generator →

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