#43127F#43127F

#43127F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.164 H 296.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#43127F
RGBrgb(67, 18, 127)
HSLhsl(267, 75%, 28%)
HSVhsv(267, 86%, 50%)
CMYKcmyk(47.2%, 85.8%, 0%, 50.2%)
CIE-LABlab(20.67, 44.95, -51.13)
CIE-LCHlch(20.67, 68.08, 311.32°)
OKLaboklab(33.69% 0.0729 -0.1466)
OKLCHoklch(33.69% 0.164 296.4)
XYZxyz(6.3608, 3.1581, 20.3490)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43127F #4E7F12
analogous
#12187F #43127F #79127F
triadic
#43127F #7F4312 #127F43
tetradic
#43127F #7F1218 #4E7F12 #127F79
square
#43127F #7F1218 #4E7F12 #127F79
split-complementary
#43127F #7F7912 #187F12
monochromatic
#0E041B #270A49 #43127F #5F1AB5 #7C2BE1

Accessibility & contrast

On white

12.87
#43127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#43127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43127F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43127F#FFFFFF#000000##FFFFFF
##43127F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#32334A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #43127f;
/* rgb */ color: rgb(67, 18, 127);
/* oklch */ color: oklch(33.7% 0.164 296.4);
Tailwind
colors: {
  custom: {
    50: '#7e58a5',
    500: '#43127f',
    950: '#000000',
  },
}
SCSS
$custom: #43127f;
$custom-light: #7e58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#43127f",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 266.972,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33688,
    "c": 0.1637,
    "h": 296.4
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#43127F
secondary
#7DB538
accent
#F2369D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #43127F

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

Preview Lab → · Contrast checker → · Palette generator →

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