#43127E#43127E

#43127E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.163 H 296.8°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#43127E
RGBrgb(67, 18, 126)
HSLhsl(267, 75%, 28%)
HSVhsv(267, 86%, 49%)
CMYKcmyk(46.8%, 85.7%, 0%, 50.6%)
CIE-LABlab(20.57, 44.70, -50.66)
CIE-LCHlch(20.57, 67.56, 311.42°)
OKLaboklab(33.59% 0.0732 -0.1452)
OKLCHoklch(33.59% 0.163 296.8)
XYZxyz(6.2959, 3.1321, 20.0075)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43127E #4D7E12
analogous
#12177E #43127E #79127E
triadic
#43127E #7E4312 #127E43
tetradic
#43127E #7E1217 #4D7E12 #127E79
square
#43127E #7E1217 #4D7E12 #127E79
split-complementary
#43127E #7E7912 #177E12
monochromatic
#0E041B #270A48 #43127E #5F1AB4 #7D2AE1

Accessibility & contrast

On white

12.91
#43127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #43127E
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43127E#FFFFFF#000000##FFFFFF
##43127E1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#33324A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #43127e;
/* rgb */ color: rgb(67, 18, 126);
/* oklch */ color: oklch(33.6% 0.163 296.8);
Tailwind
colors: {
  custom: {
    50: '#7e58a4',
    500: '#43127e',
    950: '#000000',
  },
}
SCSS
$custom: #43127e;
$custom-light: #7e58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#43127e",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 267.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33588,
    "c": 0.16264,
    "h": 296.8
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #43127E

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

Preview Lab → · Contrast checker → · Palette generator →

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