#6630A2#6630A2

#6630A2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.175 H 301.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6630A2
RGBrgb(102, 48, 162)
HSLhsl(268, 54%, 41%)
HSVhsv(268, 70%, 64%)
CMYKcmyk(37%, 70.4%, 0%, 36.5%)
CIE-LABlab(33.02, 46.69, -52.41)
CIE-LCHlch(33.02, 70.19, 311.69°)
OKLaboklab(44.32% 0.0904 -0.1493)
OKLCHoklch(44.32% 0.175 301.2)
XYZxyz(13.0564, 7.5472, 34.9443)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630A2 #6CA230
analogous
#3033A2 #6630A2 #9F30A2
triadic
#6630A2 #A26630 #30A266
tetradic
#6630A2 #A23033 #6CA230 #30A29F
square
#6630A2 #A23033 #6CA230 #30A29F
split-complementary
#6630A2 #A29F30 #33A230
monochromatic
#2B1444 #482273 #6630A2 #8447C8 #A476D6

Accessibility & contrast

On white

8.37
#6630A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6630A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6630A2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630A2#FFFFFF#000000##FFFFFF
##6630A21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#594B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6630a2;
/* rgb */ color: rgb(102, 48, 162);
/* oklch */ color: oklch(44.3% 0.175 301.2);
Tailwind
colors: {
  custom: {
    50: '#976dbe',
    500: '#6630a2',
    950: '#000000',
  },
}
SCSS
$custom: #6630a2;
$custom-light: #976dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6630a2",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 268.421,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.17453,
    "h": 301.2
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#6630A2
secondary
#99BE6F
accent
#DE4A98
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6630A2

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

Preview Lab → · Contrast checker → · Palette generator →

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