#43187F#43187F

#43187F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.158 H 295.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#43187F
RGBrgb(67, 24, 127)
HSLhsl(265, 68%, 30%)
HSVhsv(265, 81%, 50%)
CMYKcmyk(47.2%, 81.1%, 0%, 50.2%)
CIE-LABlab(21.50, 42.52, -49.76)
CIE-LCHlch(21.50, 65.45, 310.52°)
OKLaboklab(34.27% 0.0684 -0.1426)
OKLCHoklch(34.27% 0.158 295.6)
XYZxyz(6.4711, 3.3787, 20.3858)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43187F #547F18
analogous
#18207F #43187F #77187F
triadic
#43187F #7F4318 #187F43
tetradic
#43187F #7F1820 #547F18 #187F77
square
#43187F #7F1820 #547F18 #187F77
split-complementary
#43187F #7F7718 #207F18
monochromatic
#0E051A #280E4C #43187F #5E22B2 #7B38D9

Accessibility & contrast

On white

12.53
#43187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#43187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43187F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43187F#FFFFFF#000000##FFFFFF
##43187F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #43187f;
/* rgb */ color: rgb(67, 24, 127);
/* oklch */ color: oklch(34.3% 0.158 295.6);
Tailwind
colors: {
  custom: {
    50: '#7e5ba5',
    500: '#43187f',
    950: '#000000',
  },
}
SCSS
$custom: #43187f;
$custom-light: #7e5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#43187f",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 265.049,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34266,
    "c": 0.15819,
    "h": 295.6
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#43187F
secondary
#83B33F
accent
#EB3DA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #43187F

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

Preview Lab → · Contrast checker → · Palette generator →

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