#4226C3#4226C3

#4226C3 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.223 H 279.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4226C3
RGBrgb(66, 38, 195)
HSLhsl(251, 67%, 46%)
HSVhsv(251, 81%, 76%)
CMYKcmyk(66.2%, 80.5%, 0%, 23.5%)
CIE-LABlab(30.60, 55.34, -76.18)
CIE-LCHlch(30.60, 94.16, 305.99°)
OKLaboklab(42.66% 0.0363 -0.22)
OKLCHoklch(42.66% 0.223 279.4)
XYZxyz(12.7871, 6.4835, 52.1968)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4226C3 #A7C326
analogous
#2658C3 #4226C3 #9126C3
triadic
#4226C3 #C34226 #26C342
tetradic
#4226C3 #C32658 #A7C326 #26C391
square
#4226C3 #C32658 #A7C326 #26C391
split-complementary
#4226C3 #C39126 #58C326
monochromatic
#1F125D #311C90 #4226C3 #644ADC #907EE6

Accessibility & contrast

On white

9.14
#4226C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4226C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4226C3
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4226C3#FFFFFF#000000##FFFFFF
##4226C31.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC7
Deuteranopia (green-blind)
#0042C0
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4226c3;
/* rgb */ color: rgb(66, 38, 195);
/* oklch */ color: oklch(42.7% 0.223 279.4);
Tailwind
colors: {
  custom: {
    50: '#8866d7',
    500: '#4226c3',
    950: '#000000',
  },
}
SCSS
$custom: #4226c3;
$custom-light: #8866d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4226c3",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 195
  },
  "hsl": {
    "h": 250.701,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.22295,
    "h": 279.4
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#4226C3
secondary
#BECE77
accent
#EA3ECB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4226C3

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

Preview Lab → · Contrast checker → · Palette generator →

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