#6623A2#6623A2

#6623A2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.189 H 302.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6623A2
RGBrgb(102, 35, 162)
HSLhsl(272, 64%, 39%)
HSVhsv(272, 78%, 64%)
CMYKcmyk(37%, 78.4%, 0%, 36.5%)
CIE-LABlab(30.96, 52.53, -55.76)
CIE-LCHlch(30.96, 76.61, 313.29°)
OKLaboklab(42.87% 0.1028 -0.1591)
OKLCHoklch(42.87% 0.189 302.9)
XYZxyz(12.6006, 6.6355, 34.7923)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6623A2 #5FA223
analogous
#2723A2 #6623A2 #A2239E
triadic
#6623A2 #A26623 #23A266
tetradic
#6623A2 #A22723 #5FA223 #239EA2
square
#6623A2 #A22723 #5FA223 #239EA2
split-complementary
#6623A2 #9EA223 #23A227
monochromatic
#270D3D #461870 #6623A2 #8630D2 #A362DD

Accessibility & contrast

On white

9.02
#6623A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6623A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6623A2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6623A2#FFFFFF#000000##FFFFFF
##6623A21.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#594462
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6623a2;
/* rgb */ color: rgb(102, 35, 162);
/* oklch */ color: oklch(42.9% 0.189 302.9);
Tailwind
colors: {
  custom: {
    50: '#9866be',
    500: '#6623a2',
    950: '#000000',
  },
}
SCSS
$custom: #6623a2;
$custom-light: #9866be;
$custom-dark: #000000;
JSON
{
  "hex": "#6623a2",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 271.654,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42869,
    "c": 0.18942,
    "h": 302.9
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#6623A2
secondary
#8EC25E
accent
#E7408F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6623A2

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

Preview Lab → · Contrast checker → · Palette generator →

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