#6626BD#6626BD

#6626BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.214 H 295.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6626BD
RGBrgb(102, 38, 189)
HSLhsl(265, 67%, 45%)
HSVhsv(265, 80%, 74%)
CMYKcmyk(46%, 79.9%, 0%, 25.9%)
CIE-LABlab(33.74, 57.92, -67.34)
CIE-LCHlch(33.74, 88.82, 310.70°)
OKLaboklab(45.53% 0.0926 -0.1931)
OKLCHoklch(45.53% 0.214 295.6)
XYZxyz(15.3554, 7.8847, 48.8471)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626BD #7DBD26
analogous
#2632BD #6626BD #B126BD
triadic
#6626BD #BD6626 #26BD66
tetradic
#6626BD #BD2632 #7DBD26 #26BDB1
square
#6626BD #BD2632 #7DBD26 #26BDB1
split-complementary
#6626BD #BDB126 #32BD26
monochromatic
#2F1257 #4B1C8A #6626BD #8546DA #A779E4

Accessibility & contrast

On white

8.15
#6626BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6626BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6626BD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6626BD#FFFFFF#000000##FFFFFF
##6626BD1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#4D5172
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6626bd;
/* rgb */ color: rgb(102, 38, 189);
/* oklch */ color: oklch(45.5% 0.214 295.6);
Tailwind
colors: {
  custom: {
    50: '#9a69d2',
    500: '#6626bd',
    950: '#000000',
  },
}
SCSS
$custom: #6626bd;
$custom-light: #9a69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6626bd",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 265.43,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.21416,
    "h": 295.6
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#6626BD
secondary
#A6CC73
accent
#E93EA1
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6626BD

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

Preview Lab → · Contrast checker → · Palette generator →

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