#6631C8#6631C8

#6631C8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.215 H 292.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6631C8
RGBrgb(102, 49, 200)
HSLhsl(261, 61%, 49%)
HSVhsv(261, 76%, 78%)
CMYKcmyk(49%, 75.5%, 0%, 21.6%)
CIE-LABlab(36.35, 56.07, -69.52)
CIE-LCHlch(36.35, 89.31, 308.89°)
OKLaboklab(47.65% 0.0811 -0.1995)
OKLCHoklch(47.65% 0.215 292.1)
XYZxyz(17.0002, 9.1909, 55.5107)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6631C8 #93C831
analogous
#3147C8 #6631C8 #B231C8
triadic
#6631C8 #C86631 #31C866
tetradic
#6631C8 #C83147 #93C831 #31C8B2
square
#6631C8 #C83147 #93C831 #31C8B2
split-complementary
#6631C8 #C8B231 #47C831
monochromatic
#341966 #4D2597 #6631C8 #895FD8 #AD90E4

Accessibility & contrast

On white

7.40
#6631C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6631C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6631C8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6631C8#FFFFFF#000000##FFFFFF
##6631C81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#465A7B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6631c8;
/* rgb */ color: rgb(102, 49, 200);
/* oklch */ color: oklch(47.7% 0.215 292.1);
Tailwind
colors: {
  custom: {
    50: '#9b6fda',
    500: '#6631c8',
    950: '#000000',
  },
}
SCSS
$custom: #6631c8;
$custom-light: #9b6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#6631c8",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 261.06,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47654,
    "c": 0.21541,
    "h": 292.1
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#6631C8
secondary
#B5CE86
accent
#E444AC
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6631C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6631C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva