#6633AF#6633AF

#6633AF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.185 H 297.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6633AF
RGBrgb(102, 51, 175)
HSLhsl(265, 55%, 44%)
HSVhsv(265, 71%, 69%)
CMYKcmyk(41.7%, 70.9%, 0%, 31.4%)
CIE-LABlab(34.57, 48.55, -57.68)
CIE-LCHlch(34.57, 75.40, 310.09°)
OKLaboklab(45.75% 0.085 -0.1648)
OKLCHoklch(45.75% 0.185 297.3)
XYZxyz(14.3992, 8.2873, 41.3901)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6633AF #7CAF33
analogous
#333EAF #6633AF #A433AF
triadic
#6633AF #AF6633 #33AF66
tetradic
#6633AF #AF333E #7CAF33 #33AFA4
square
#6633AF #AF333E #7CAF33 #33AFA4
split-complementary
#6633AF #AFA433 #3EAF33
monochromatic
#2F1750 #4A2580 #6633AF #8552CD #A682DB

Accessibility & contrast

On white

7.90
#6633AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6633AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6633AF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6633AF#FFFFFF#000000##FFFFFF
##6633AF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#54526D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6633af;
/* rgb */ color: rgb(102, 51, 175);
/* oklch */ color: oklch(45.7% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#986fc8',
    500: '#6633af',
    950: '#000000',
  },
}
SCSS
$custom: #6633af;
$custom-light: #986fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6633af",
  "rgb": {
    "r": 102,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 264.677,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.18547,
    "h": 297.3
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#6633AF
secondary
#A5C47A
accent
#DE4AA1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6633AF

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

Preview Lab → · Contrast checker → · Palette generator →

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