#6626B0#6626B0

#6626B0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.201 H 298.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6626B0
RGBrgb(102, 38, 176)
HSLhsl(268, 64%, 42%)
HSVhsv(268, 78%, 69%)
CMYKcmyk(42%, 78.4%, 0%, 31%)
CIE-LABlab(32.58, 54.70, -61.53)
CIE-LCHlch(32.58, 82.33, 311.64°)
OKLaboklab(44.37% 0.0965 -0.1761)
OKLCHoklch(44.37% 0.201 298.7)
XYZxyz(14.0071, 7.3454, 41.7457)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626B0 #70B026
analogous
#262BB0 #6626B0 #AB26B0
triadic
#6626B0 #B06626 #26B066
tetradic
#6626B0 #B0262B #70B026 #26B0AB
square
#6626B0 #B0262B #70B026 #26B0AB
split-complementary
#6626B0 #B0AB26 #2BB026
monochromatic
#2C104B #491B7E #6626B0 #843ED5 #A470E0

Accessibility & contrast

On white

8.50
#6626B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6626B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6626B0
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6626B0#FFFFFF#000000##FFFFFF
##6626B01.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#544C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6626b0;
/* rgb */ color: rgb(102, 38, 176);
/* oklch */ color: oklch(44.4% 0.201 298.7);
Tailwind
colors: {
  custom: {
    50: '#9968c9',
    500: '#6626b0',
    950: '#000000',
  },
}
SCSS
$custom: #6626b0;
$custom-light: #9968c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6626b0",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 267.826,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.20078,
    "h": 298.7
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#6626B0
secondary
#9CC76B
accent
#E7409A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6626B0

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

Preview Lab → · Contrast checker → · Palette generator →

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