#43227C#43227C

#43227C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.143 H 294.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#43227C
RGBrgb(67, 34, 124)
HSLhsl(262, 57%, 31%)
HSVhsv(262, 73%, 49%)
CMYKcmyk(46%, 72.6%, 0%, 51.4%)
CIE-LABlab(22.97, 36.73, -45.45)
CIE-LCHlch(22.97, 58.44, 308.95°)
OKLaboklab(35.22% 0.0598 -0.1301)
OKLCHoklch(35.22% 0.143 294.7)
XYZxyz(6.5239, 3.7924, 19.4532)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#43227C #5B7C22
analogous
#222E7C #43227C #70227C
triadic
#43227C #7C4322 #227C43
tetradic
#43227C #7C222E #5B7C22 #227C70
square
#43227C #7C222E #5B7C22 #227C70
split-complementary
#43227C #7C7022 #2E7C22
monochromatic
#0F081C #29154C #43227C #5D2FAC #7B4BCE

Accessibility & contrast

On white

11.94
#43227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#43227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #43227C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##43227C#FFFFFF#000000##FFFFFF
##43227C1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#33394C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #43227c;
/* rgb */ color: rgb(67, 34, 124);
/* oklch */ color: oklch(35.2% 0.143 294.7);
Tailwind
colors: {
  custom: {
    50: '#7d60a3',
    500: '#43227c',
    950: '#000000',
  },
}
SCSS
$custom: #43227c;
$custom-light: #7d60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#43227c",
  "rgb": {
    "r": 67,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 262,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35219,
    "c": 0.14317,
    "h": 294.7
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#43227C
secondary
#8AAF4B
accent
#E048A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #43227C

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

Preview Lab → · Contrast checker → · Palette generator →

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