#4223A0#4223A0

#4223A0 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.185 H 285.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4223A0
RGBrgb(66, 35, 160)
HSLhsl(255, 64%, 38%)
HSVhsv(255, 78%, 63%)
CMYKcmyk(58.8%, 78.1%, 0%, 37.3%)
CIE-LABlab(26.44, 46.56, -62.13)
CIE-LCHlch(26.44, 77.64, 306.85°)
OKLaboklab(38.68% 0.0484 -0.179)
OKLCHoklch(38.68% 0.185 285.1)
XYZxyz(9.1910, 4.8978, 33.7119)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4223A0 #81A023
analogous
#2342A0 #4223A0 #8023A0
triadic
#4223A0 #A04223 #23A042
tetradic
#4223A0 #A02342 #81A023 #23A080
square
#4223A0 #A02342 #81A023 #23A080
split-complementary
#4223A0 #A08023 #42A023
monochromatic
#190D3C #2D186E #4223A0 #572FD1 #8061DC

Accessibility & contrast

On white

10.61
#4223A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4223A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4223A0
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4223A0#FFFFFF#000000##FFFFFF
##4223A01.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#0E4761
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4223a0;
/* rgb */ color: rgb(66, 35, 160);
/* oklch */ color: oklch(38.7% 0.185 285.1);
Tailwind
colors: {
  custom: {
    50: '#8262bd',
    500: '#4223a0',
    950: '#000000',
  },
}
SCSS
$custom: #4223a0;
$custom-light: #8262bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4223a0",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 254.88,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.1854,
    "h": 285.1
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#4223A0
secondary
#A9C15D
accent
#E741BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4223A0

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

Preview Lab → · Contrast checker → · Palette generator →

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