#43227A#43227A

#43227A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.141 H 295.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#43227A
RGBrgb(67, 34, 122)
HSLhsl(263, 56%, 31%)
HSVhsv(263, 72%, 48%)
CMYKcmyk(45.1%, 72.1%, 0%, 52.2%)
CIE-LABlab(22.80, 36.16, -44.46)
CIE-LCHlch(22.80, 57.31, 309.12°)
OKLaboklab(35.04% 0.0602 -0.1272)
OKLCHoklch(35.04% 0.141 295.3)
XYZxyz(6.3987, 3.7423, 18.7938)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43227A #597A22
analogous
#222D7A #43227A #6F227A
triadic
#43227A #7A4322 #227A43
tetradic
#43227A #7A222D #597A22 #227A6F
square
#43227A #7A222D #597A22 #227A6F
split-complementary
#43227A #7A6F22 #2D7A22
monochromatic
#0E071A #29154A #43227A #5D2FAA #7B4ACD

Accessibility & contrast

On white

12.01
#43227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#43227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43227A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43227A#FFFFFF#000000##FFFFFF
##43227A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#34384B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #43227a;
/* rgb */ color: rgb(67, 34, 122);
/* oklch */ color: oklch(35.0% 0.141 295.3);
Tailwind
colors: {
  custom: {
    50: '#7d60a1',
    500: '#43227a',
    950: '#000000',
  },
}
SCSS
$custom: #43227a;
$custom-light: #7d60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#43227a",
  "rgb": {
    "r": 67,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 262.5,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35043,
    "c": 0.14069,
    "h": 295.3
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#43227A
secondary
#88AD4B
accent
#E048A7
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #43227A

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

Preview Lab → · Contrast checker → · Palette generator →

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