#6623A4#6623A4

#6623A4 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.191 H 302.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6623A4
RGBrgb(102, 35, 164)
HSLhsl(271, 65%, 39%)
HSVhsv(271, 79%, 64%)
CMYKcmyk(37.8%, 78.7%, 0%, 35.7%)
CIE-LABlab(31.13, 53.00, -56.70)
CIE-LCHlch(31.13, 77.61, 313.07°)
OKLaboklab(43.04% 0.1023 -0.1618)
OKLCHoklch(43.04% 0.191 302.3)
XYZxyz(12.7798, 6.7071, 35.7361)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6623A4 #61A423
analogous
#2623A4 #6623A4 #A423A2
triadic
#6623A4 #A46623 #23A466
tetradic
#6623A4 #A42623 #61A423 #23A2A4
square
#6623A4 #A42623 #61A423 #23A2A4
split-complementary
#6623A4 #A2A423 #23A426
monochromatic
#270D3F #471872 #6623A4 #8531D3 #A364DE

Accessibility & contrast

On white

8.97
#6623A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6623A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6623A4
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6623A4#FFFFFF#000000##FFFFFF
##6623A41.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#594563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6623a4;
/* rgb */ color: rgb(102, 35, 164);
/* oklch */ color: oklch(43.0% 0.191 302.3);
Tailwind
colors: {
  custom: {
    50: '#9866c0',
    500: '#6623a4',
    950: '#000000',
  },
}
SCSS
$custom: #6623a4;
$custom-light: #9866c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6623a4",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 271.163,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.19146,
    "h": 302.3
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#6623A4
secondary
#8FC360
accent
#E84091
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6623A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6623A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva