#6631B8#6631B8

#6631B8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.198 H 295.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6631B8
RGBrgb(102, 49, 184)
HSLhsl(264, 58%, 46%)
HSVhsv(264, 73%, 72%)
CMYKcmyk(44.6%, 73.4%, 0%, 27.8%)
CIE-LABlab(34.97, 51.88, -62.39)
CIE-LCHlch(34.97, 81.14, 309.74°)
OKLaboklab(46.26% 0.0851 -0.1786)
OKLCHoklch(46.26% 0.198 295.5)
XYZxyz(15.2272, 8.4817, 46.1730)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6631B8 #83B831
analogous
#313FB8 #6631B8 #AA31B8
triadic
#6631B8 #B86631 #31B866
tetradic
#6631B8 #B8313F #83B831 #31B8AA
square
#6631B8 #B8313F #83B831 #31B8AA
split-complementary
#6631B8 #B8AA31 #3FB831
monochromatic
#301757 #4B2488 #6631B8 #8655D2 #A885DE

Accessibility & contrast

On white

7.79
#6631B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6631B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6631B8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6631B8#FFFFFF#000000##FFFFFF
##6631B81.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.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: #6631b8;
/* rgb */ color: rgb(102, 49, 184);
/* oklch */ color: oklch(46.3% 0.198 295.5);
Tailwind
colors: {
  custom: {
    50: '#996ece',
    500: '#6631b8',
    950: '#000000',
  },
}
SCSS
$custom: #6631b8;
$custom-light: #996ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6631b8",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 263.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46257,
    "c": 0.19786,
    "h": 295.5
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#6631B8
secondary
#AAC87D
accent
#E147A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6631B8

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

Preview Lab → · Contrast checker → · Palette generator →

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