#6625A2#6625A2

#6625A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.187 H 302.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6625A2
RGBrgb(102, 37, 162)
HSLhsl(271, 63%, 39%)
HSVhsv(271, 77%, 64%)
CMYKcmyk(37%, 77.2%, 0%, 36.5%)
CIE-LABlab(31.25, 51.71, -55.30)
CIE-LCHlch(31.25, 75.71, 313.08°)
OKLaboklab(43.07% 0.1011 -0.1577)
OKLCHoklch(43.07% 0.187 302.7)
XYZxyz(12.6611, 6.7565, 34.8125)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6625A2 #61A225
analogous
#2825A2 #6625A2 #A225A0
triadic
#6625A2 #A26625 #25A266
tetradic
#6625A2 #A22825 #61A225 #25A0A2
square
#6625A2 #A22825 #61A225 #25A0A2
split-complementary
#6625A2 #A0A225 #25A228
monochromatic
#270E3E #471A70 #6625A2 #8534D1 #A365DC

Accessibility & contrast

On white

8.93
#6625A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6625A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6625A2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6625A2#FFFFFF#000000##FFFFFF
##6625A21.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#594562
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6625a2;
/* rgb */ color: rgb(102, 37, 162);
/* oklch */ color: oklch(43.1% 0.187 302.7);
Tailwind
colors: {
  custom: {
    50: '#9767be',
    500: '#6625a2',
    950: '#000000',
  },
}
SCSS
$custom: #6625a2;
$custom-light: #9767be;
$custom-dark: #000000;
JSON
{
  "hex": "#6625a2",
  "rgb": {
    "r": 102,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 271.2,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.18735,
    "h": 302.7
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#6625A2
secondary
#8FC261
accent
#E64291
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6625A2

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

Preview Lab → · Contrast checker → · Palette generator →

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