#43167F#43167F

#43167F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.160 H 295.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#43167F
RGBrgb(67, 22, 127)
HSLhsl(266, 70%, 29%)
HSVhsv(266, 83%, 50%)
CMYKcmyk(47.2%, 82.7%, 0%, 50.2%)
CIE-LABlab(21.20, 43.38, -50.24)
CIE-LCHlch(21.20, 66.38, 310.81°)
OKLaboklab(34.06% 0.07 -0.144)
OKLCHoklch(34.06% 0.16 295.9)
XYZxyz(6.4314, 3.2993, 20.3725)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43167F #527F16
analogous
#161E7F #43167F #78167F
triadic
#43167F #7F4316 #167F43
tetradic
#43167F #7F161E #527F16 #167F78
square
#43167F #7F161E #527F16 #167F78
split-complementary
#43167F #7F7816 #1E7F16
monochromatic
#0E051A #270D4B #43167F #5F1FB3 #7C34DC

Accessibility & contrast

On white

12.65
#43167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#43167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43167F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43167F#FFFFFF#000000##FFFFFF
##43167F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #43167f;
/* rgb */ color: rgb(67, 22, 127);
/* oklch */ color: oklch(34.1% 0.160 295.9);
Tailwind
colors: {
  custom: {
    50: '#7e5aa5',
    500: '#43167f',
    950: '#000000',
  },
}
SCSS
$custom: #43167f;
$custom-light: #7e5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#43167f",
  "rgb": {
    "r": 67,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 265.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.16014,
    "h": 295.9
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#43167F
secondary
#81B43D
accent
#ED3BA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #43167F

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

Preview Lab → · Contrast checker → · Palette generator →

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