#43227B#43227B

#43227B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.142 H 295.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#43227B
RGBrgb(67, 34, 123)
HSLhsl(262, 57%, 31%)
HSVhsv(262, 72%, 48%)
CMYKcmyk(45.5%, 72.4%, 0%, 51.8%)
CIE-LABlab(22.89, 36.45, -44.95)
CIE-LCHlch(22.89, 57.87, 309.03°)
OKLaboklab(35.13% 0.06 -0.1286)
OKLCHoklch(35.13% 0.142 295)
XYZxyz(6.4610, 3.7672, 19.1218)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43227B #5A7B22
analogous
#222D7B #43227B #6F227B
triadic
#43227B #7B4322 #227B43
tetradic
#43227B #7B222D #5A7B22 #227B6F
square
#43227B #7B222D #5A7B22 #227B6F
split-complementary
#43227B #7B6F22 #2D7B22
monochromatic
#0F071B #29154B #43227B #5D2FAB #7B4ACD

Accessibility & contrast

On white

11.98
#43227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #43227B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43227B#FFFFFF#000000##FFFFFF
##43227B1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#34384C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #43227b;
/* rgb */ color: rgb(67, 34, 123);
/* oklch */ color: oklch(35.1% 0.142 295.0);
Tailwind
colors: {
  custom: {
    50: '#7d60a2',
    500: '#43227b',
    950: '#000000',
  },
}
SCSS
$custom: #43227b;
$custom-light: #7d60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#43227b",
  "rgb": {
    "r": 67,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 262.247,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35131,
    "c": 0.14193,
    "h": 295
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#43227B
secondary
#89AE4B
accent
#E048A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #43227B

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

Preview Lab → · Contrast checker → · Palette generator →

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