#6630C2#6630C2

#6630C2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.210 H 293.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6630C2
RGBrgb(102, 48, 194)
HSLhsl(262, 60%, 47%)
HSVhsv(262, 75%, 76%)
CMYKcmyk(47.4%, 75.3%, 0%, 23.9%)
CIE-LABlab(35.66, 54.95, -67.14)
CIE-LCHlch(35.66, 86.76, 309.30°)
OKLaboklab(47.01% 0.0835 -0.1926)
OKLCHoklch(47.01% 0.21 293.4)
XYZxyz(16.2714, 8.8332, 51.8761)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630C2 #8CC230
analogous
#3043C2 #6630C2 #AF30C2
triadic
#6630C2 #C26630 #30C266
tetradic
#6630C2 #C23043 #8CC230 #30C2AF
square
#6630C2 #C23043 #8CC230 #30C2AF
split-complementary
#6630C2 #C2AF30 #43C230
monochromatic
#321860 #4C2491 #6630C2 #8759D6 #AB8AE2

Accessibility & contrast

On white

7.59
#6630C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6630C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6630C2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630C2#FFFFFF#000000##FFFFFF
##6630C21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#4A5877
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6630c2;
/* rgb */ color: rgb(102, 48, 194);
/* oklch */ color: oklch(47.0% 0.210 293.4);
Tailwind
colors: {
  custom: {
    50: '#9a6ed6',
    500: '#6630c2',
    950: '#000000',
  },
}
SCSS
$custom: #6630c2;
$custom-light: #9a6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#6630c2",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 262.192,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4701,
    "c": 0.20989,
    "h": 293.4
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#6630C2
secondary
#B1CC82
accent
#E344A9
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6630C2

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

Preview Lab → · Contrast checker → · Palette generator →

#6630C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva