#4223A6#4223A6

#4223A6 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.192 H 284.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4223A6
RGBrgb(66, 35, 166)
HSLhsl(254, 65%, 39%)
HSVhsv(254, 79%, 65%)
CMYKcmyk(60.2%, 78.9%, 0%, 34.9%)
CIE-LABlab(27.05, 48.31, -64.76)
CIE-LCHlch(27.05, 80.79, 306.72°)
OKLaboklab(39.29% 0.0466 -0.1867)
OKLCHoklch(39.29% 0.192 284)
XYZxyz(9.7286, 5.1129, 36.5432)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223A6 #87A623
analogous
#2346A6 #4223A6 #8323A6
triadic
#4223A6 #A64223 #23A642
tetradic
#4223A6 #A62346 #87A623 #23A683
square
#4223A6 #A62346 #87A623 #23A683
split-complementary
#4223A6 #A68323 #46A623
monochromatic
#1A0E41 #2E1873 #4223A6 #5932D4 #8265DF

Accessibility & contrast

On white

10.38
#4223A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4223A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223A6
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223A6#FFFFFF#000000##FFFFFF
##4223A61.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4223a6;
/* rgb */ color: rgb(66, 35, 166);
/* oklch */ color: oklch(39.3% 0.192 284.0);
Tailwind
colors: {
  custom: {
    50: '#8363c2',
    500: '#4223a6',
    950: '#000000',
  },
}
SCSS
$custom: #4223a6;
$custom-light: #8363c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4223a6",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 254.198,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39287,
    "c": 0.19239,
    "h": 284
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#4223A6
secondary
#ACC461
accent
#E840C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4223A6

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

Preview Lab → · Contrast checker → · Palette generator →

#4223A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva