#6623BD#6623BD

#6623BD is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.3% C 0.217 H 295.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6623BD
RGBrgb(102, 35, 189)
HSLhsl(266, 69%, 44%)
HSVhsv(266, 81%, 74%)
CMYKcmyk(46%, 81.5%, 0%, 25.9%)
CIE-LABlab(33.35, 59.05, -67.98)
CIE-LCHlch(33.35, 90.05, 310.98°)
OKLaboklab(45.26% 0.0947 -0.195)
OKLCHoklch(45.26% 0.217 295.9)
XYZxyz(15.2634, 7.7006, 48.8164)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6623BD #7ABD23
analogous
#232DBD #6623BD #B323BD
triadic
#6623BD #BD6623 #23BD66
tetradic
#6623BD #BD232D #7ABD23 #23BDB3
square
#6623BD #BD232D #7ABD23 #23BDB3
split-complementary
#6623BD #BDB323 #2DBD23
monochromatic
#2E1056 #4A1989 #6623BD #8541DC #A675E5

Accessibility & contrast

On white

8.27
#6623BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6623BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6623BD
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6623BD#FFFFFF#000000##FFFFFF
##6623BD1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#4D5072
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6623bd;
/* rgb */ color: rgb(102, 35, 189);
/* oklch */ color: oklch(45.3% 0.217 295.9);
Tailwind
colors: {
  custom: {
    50: '#9a67d2',
    500: '#6623bd',
    950: '#000000',
  },
}
SCSS
$custom: #6623bd;
$custom-light: #9a67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6623bd",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 266.104,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45263,
    "c": 0.21673,
    "h": 295.9
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#6623BD
secondary
#A4CD6F
accent
#EC3C9F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6623BD

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

Preview Lab → · Contrast checker → · Palette generator →

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