#6630AF#6630AF

#6630AF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.189 H 297.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6630AF
RGBrgb(102, 48, 175)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 73%, 69%)
CMYKcmyk(41.7%, 72.6%, 0%, 31.4%)
CIE-LABlab(34.05, 50.01, -58.53)
CIE-LCHlch(34.05, 76.99, 310.51°)
OKLaboklab(45.38% 0.088 -0.1673)
OKLCHoklch(45.38% 0.189 297.7)
XYZxyz(14.2723, 8.0336, 41.3478)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630AF #79AF30
analogous
#3039AF #6630AF #A530AF
triadic
#6630AF #AF6630 #30AF66
tetradic
#6630AF #AF3039 #79AF30 #30AFA5
square
#6630AF #AF3039 #79AF30 #30AFA5
split-complementary
#6630AF #AFA530 #39AF30
monochromatic
#2E164F #4A237F #6630AF #844ECE #A67EDC

Accessibility & contrast

On white

8.06
#6630AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6630AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6630AF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630AF#FFFFFF#000000##FFFFFF
##6630AF1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#54506C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6630af;
/* rgb */ color: rgb(102, 48, 175);
/* oklch */ color: oklch(45.4% 0.189 297.7);
Tailwind
colors: {
  custom: {
    50: '#986dc8',
    500: '#6630af',
    950: '#000000',
  },
}
SCSS
$custom: #6630af;
$custom-light: #986dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6630af",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 265.512,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.18903,
    "h": 297.7
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#6630AF
secondary
#A3C476
accent
#E0489F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6630AF

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

Preview Lab → · Contrast checker → · Palette generator →

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