#6625B2#6625B2

#6625B2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.204 H 298.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6625B2
RGBrgb(102, 37, 178)
HSLhsl(268, 66%, 42%)
HSVhsv(268, 79%, 70%)
CMYKcmyk(42.7%, 79.2%, 0%, 30.2%)
CIE-LABlab(32.62, 55.60, -62.67)
CIE-LCHlch(32.62, 83.77, 311.58°)
OKLaboklab(44.45% 0.0967 -0.1794)
OKLCHoklch(44.45% 0.204 298.3)
XYZxyz(14.1749, 7.3620, 42.7850)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6625B2 #71B225
analogous
#252AB2 #6625B2 #AD25B2
triadic
#6625B2 #B26625 #25B266
tetradic
#6625B2 #B2252A #71B225 #25B2AD
square
#6625B2 #B2252A #71B225 #25B2AD
split-complementary
#6625B2 #B2AD25 #2AB225
monochromatic
#2C104D #491A7F #6625B2 #843DD7 #A470E1

Accessibility & contrast

On white

8.49
#6625B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6625B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6625B2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6625B2#FFFFFF#000000##FFFFFF
##6625B21.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#534C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6625b2;
/* rgb */ color: rgb(102, 37, 178);
/* oklch */ color: oklch(44.5% 0.204 298.3);
Tailwind
colors: {
  custom: {
    50: '#9968ca',
    500: '#6625b2',
    950: '#000000',
  },
}
SCSS
$custom: #6625b2;
$custom-light: #9968ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6625b2",
  "rgb": {
    "r": 102,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 267.66,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4445,
    "c": 0.20379,
    "h": 298.3
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#6625B2
secondary
#9DC86B
accent
#E93F9B
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6625B2

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

Preview Lab → · Contrast checker → · Palette generator →

#6625B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva