#6623A0#6623A0

#6623A0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.187 H 303.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6623A0
RGBrgb(102, 35, 160)
HSLhsl(272, 64%, 38%)
HSVhsv(272, 78%, 63%)
CMYKcmyk(36.2%, 78.1%, 0%, 37.3%)
CIE-LABlab(30.80, 52.05, -54.82)
CIE-LCHlch(30.80, 75.60, 313.51°)
OKLaboklab(42.7% 0.1033 -0.1563)
OKLCHoklch(42.7% 0.187 303.5)
XYZxyz(12.4242, 6.5649, 33.8635)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6623A0 #5DA023
analogous
#2723A0 #6623A0 #A0239B
triadic
#6623A0 #A06623 #23A066
tetradic
#6623A0 #A02723 #5DA023 #239BA0
square
#6623A0 #A02723 #5DA023 #239BA0
split-complementary
#6623A0 #9BA023 #23A027
monochromatic
#260D3C #46186E #6623A0 #862FD1 #A361DC

Accessibility & contrast

On white

9.08
#6623A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6623A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6623A0
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6623A0#FFFFFF#000000##FFFFFF
##6623A01.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#5A4461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6623a0;
/* rgb */ color: rgb(102, 35, 160);
/* oklch */ color: oklch(42.7% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#9766bd',
    500: '#6623a0',
    950: '#000000',
  },
}
SCSS
$custom: #6623a0;
$custom-light: #9766bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6623a0",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 272.16,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.427,
    "c": 0.18739,
    "h": 303.5
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#6623A0
secondary
#8CC15D
accent
#E7418E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6623A0

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

Preview Lab → · Contrast checker → · Palette generator →

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