#6623A7#6623A7

#6623A7 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.194 H 301.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6623A7
RGBrgb(102, 35, 167)
HSLhsl(270, 65%, 40%)
HSVhsv(270, 79%, 65%)
CMYKcmyk(38.9%, 79%, 0%, 34.5%)
CIE-LABlab(31.39, 53.72, -58.09)
CIE-LCHlch(31.39, 79.12, 312.76°)
OKLaboklab(43.3% 0.1015 -0.1659)
OKLCHoklch(43.3% 0.194 301.4)
XYZxyz(13.0539, 6.8168, 37.1798)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6623A7 #64A723
analogous
#2423A7 #6623A7 #A723A6
triadic
#6623A7 #A76623 #23A766
tetradic
#6623A7 #A72423 #64A723 #23A6A7
square
#6623A7 #A72423 #64A723 #23A6A7
split-complementary
#6623A7 #A6A723 #23A724
monochromatic
#280E42 #471874 #6623A7 #8533D4 #A366DF

Accessibility & contrast

On white

8.89
#6623A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6623A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6623A7
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6623A7#FFFFFF#000000##FFFFFF
##6623A71.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#584765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6623a7;
/* rgb */ color: rgb(102, 35, 167);
/* oklch */ color: oklch(43.3% 0.194 301.4);
Tailwind
colors: {
  custom: {
    50: '#9866c2',
    500: '#6623a7',
    950: '#000000',
  },
}
SCSS
$custom: #6623a7;
$custom-light: #9866c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6623a7",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 270.455,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.19449,
    "h": 301.4
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#6623A7
secondary
#92C461
accent
#E83F93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6623A7

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

Preview Lab → · Contrast checker → · Palette generator →

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