#6631BA#6631BA

#6631BA is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.200 H 295.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6631BA
RGBrgb(102, 49, 186)
HSLhsl(263, 58%, 46%)
HSVhsv(263, 74%, 73%)
CMYKcmyk(45.2%, 73.7%, 0%, 27.1%)
CIE-LABlab(35.14, 52.40, -63.29)
CIE-LCHlch(35.14, 82.17, 309.62°)
OKLaboklab(46.43% 0.0846 -0.1813)
OKLCHoklch(46.43% 0.2 295)
XYZxyz(15.4383, 8.5662, 47.2849)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6631BA #85BA31
analogous
#3140BA #6631BA #AA31BA
triadic
#6631BA #BA6631 #31BA66
tetradic
#6631BA #BA3140 #85BA31 #31BAAA
square
#6631BA #BA3140 #85BA31 #31BAAA
split-complementary
#6631BA #BAAA31 #40BA31
monochromatic
#311759 #4B248A #6631BA #8656D2 #A986DF

Accessibility & contrast

On white

7.74
#6631BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6631BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6631BA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6631BA#FFFFFF#000000##FFFFFF
##6631BA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#4E5573
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6631ba;
/* rgb */ color: rgb(102, 49, 186);
/* oklch */ color: oklch(46.4% 0.200 295.0);
Tailwind
colors: {
  custom: {
    50: '#996ed0',
    500: '#6631ba',
    950: '#000000',
  },
}
SCSS
$custom: #6631ba;
$custom-light: #996ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6631ba",
  "rgb": {
    "r": 102,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 263.212,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46428,
    "c": 0.20007,
    "h": 295
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#6631BA
secondary
#ACC97E
accent
#E246A5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6631BA

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

Preview Lab → · Contrast checker → · Palette generator →

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