#4226A3#4226A3

#4226A3 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.186 H 284.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4226A3
RGBrgb(66, 38, 163)
HSLhsl(253, 62%, 39%)
HSVhsv(253, 77%, 64%)
CMYKcmyk(59.5%, 76.7%, 0%, 36.1%)
CIE-LABlab(27.26, 45.95, -62.59)
CIE-LCHlch(27.26, 77.65, 306.28°)
OKLaboklab(39.34% 0.0455 -0.1804)
OKLCHoklch(39.34% 0.186 284.1)
XYZxyz(9.5487, 5.1882, 35.1415)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4226A3 #87A326
analogous
#2649A3 #4226A3 #8126A3
triadic
#4226A3 #A34226 #26A342
tetradic
#4226A3 #A32649 #87A326 #26A381
square
#4226A3 #A32649 #87A326 #26A381
split-complementary
#4226A3 #A38126 #49A326
monochromatic
#1A0F40 #2E1A71 #4226A3 #5936D0 #8268DC

Accessibility & contrast

On white

10.31
#4226A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4226A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4226A3
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4226A3#FFFFFF#000000##FFFFFF
##4226A31.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#054A63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4226a3;
/* rgb */ color: rgb(66, 38, 163);
/* oklch */ color: oklch(39.3% 0.186 284.1);
Tailwind
colors: {
  custom: {
    50: '#8264bf',
    500: '#4226a3',
    950: '#000000',
  },
}
SCSS
$custom: #4226a3;
$custom-light: #8264bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4226a3",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 253.44,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39343,
    "c": 0.18601,
    "h": 284.1
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#4226A3
secondary
#ACC263
accent
#E543C1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4226A3

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

Preview Lab → · Contrast checker → · Palette generator →

#4226A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva