#6630B8#6630B8

#6630B8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.199 H 295.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6630B8
RGBrgb(102, 48, 184)
HSLhsl(264, 59%, 45%)
HSVhsv(264, 74%, 72%)
CMYKcmyk(44.6%, 73.9%, 0%, 27.8%)
CIE-LABlab(34.80, 52.35, -62.66)
CIE-LCHlch(34.80, 81.65, 309.88°)
OKLaboklab(46.14% 0.086 -0.1794)
OKLCHoklch(46.14% 0.199 295.6)
XYZxyz(15.1859, 8.3990, 46.1592)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630B8 #82B830
analogous
#303EB8 #6630B8 #AA30B8
triadic
#6630B8 #B86630 #30B866
tetradic
#6630B8 #B8303E #82B830 #30B8AA
square
#6630B8 #B8303E #82B830 #30B8AA
split-complementary
#6630B8 #B8AA30 #3EB830
monochromatic
#301757 #4B2387 #6630B8 #8653D2 #A884DF

Accessibility & contrast

On white

7.84
#6630B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6630B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6630B8
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630B8#FFFFFF#000000##FFFFFF
##6630B81.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#4F5472
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6630b8;
/* rgb */ color: rgb(102, 48, 184);
/* oklch */ color: oklch(46.1% 0.199 295.6);
Tailwind
colors: {
  custom: {
    50: '#996ece',
    500: '#6630b8',
    950: '#000000',
  },
}
SCSS
$custom: #6630b8;
$custom-light: #996ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6630b8",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 263.824,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.19896,
    "h": 295.6
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#6630B8
secondary
#AAC87C
accent
#E246A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6630B8

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

Preview Lab → · Contrast checker → · Palette generator →

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