#6630BF#6630BF

#6630BF is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.207 H 294.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6630BF
RGBrgb(102, 48, 191)
HSLhsl(263, 60%, 47%)
HSVhsv(263, 75%, 75%)
CMYKcmyk(46.6%, 74.9%, 0%, 25.1%)
CIE-LABlab(35.40, 54.17, -65.80)
CIE-LCHlch(35.40, 85.23, 309.46°)
OKLaboklab(46.75% 0.0843 -0.1887)
OKLCHoklch(46.75% 0.207 294.1)
XYZxyz(15.9378, 8.6998, 50.1196)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630BF #89BF30
analogous
#3042BF #6630BF #AE30BF
triadic
#6630BF #BF6630 #30BF66
tetradic
#6630BF #BF3042 #89BF30 #30BFAE
square
#6630BF #BF3042 #89BF30 #30BFAE
split-complementary
#6630BF #BFAE30 #42BF30
monochromatic
#32175D #4C248E #6630BF #8757D5 #AA88E1

Accessibility & contrast

On white

7.66
#6630BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6630BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6630BF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630BF#FFFFFF#000000##FFFFFF
##6630BF1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#4C5675
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6630bf;
/* rgb */ color: rgb(102, 48, 191);
/* oklch */ color: oklch(46.7% 0.207 294.1);
Tailwind
colors: {
  custom: {
    50: '#9a6ed3',
    500: '#6630bf',
    950: '#000000',
  },
}
SCSS
$custom: #6630bf;
$custom-light: #9a6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#6630bf",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 262.657,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.20663,
    "h": 294.1
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#6630BF
secondary
#AFCB80
accent
#E345A7
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6630BF

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

Preview Lab → · Contrast checker → · Palette generator →

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