#43227F#43227F

#43227F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.147 H 293.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#43227F
RGBrgb(67, 34, 127)
HSLhsl(261, 58%, 32%)
HSVhsv(261, 73%, 50%)
CMYKcmyk(47.2%, 73.2%, 0%, 50.2%)
CIE-LABlab(23.24, 37.60, -46.92)
CIE-LCHlch(23.24, 60.13, 308.70°)
OKLaboklab(35.49% 0.0592 -0.1344)
OKLCHoklch(35.49% 0.147 293.8)
XYZxyz(6.7165, 3.8695, 20.4676)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43227F #5E7F22
analogous
#22307F #43227F #72227F
triadic
#43227F #7F4322 #227F43
tetradic
#43227F #7F2230 #5E7F22 #227F72
square
#43227F #7F2230 #5E7F22 #227F72
split-complementary
#43227F #7F7222 #307F22
monochromatic
#10081E #2A154F #43227F #5C2FAF #7B4CCF

Accessibility & contrast

On white

11.84
#43227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#43227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43227F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43227F#FFFFFF#000000##FFFFFF
##43227F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#313A4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #43227f;
/* rgb */ color: rgb(67, 34, 127);
/* oklch */ color: oklch(35.5% 0.147 293.8);
Tailwind
colors: {
  custom: {
    50: '#7d60a5',
    500: '#43227f',
    950: '#000000',
  },
}
SCSS
$custom: #43227f;
$custom-light: #7d60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#43227f",
  "rgb": {
    "r": 67,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 261.29,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35487,
    "c": 0.14686,
    "h": 293.8
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#43227F
secondary
#8DB24B
accent
#E147AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #43227F

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

Preview Lab → · Contrast checker → · Palette generator →

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