#6635AF#6635AF

#6635AF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.183 H 297.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6635AF
RGBrgb(102, 53, 175)
HSLhsl(264, 54%, 45%)
HSVhsv(264, 70%, 69%)
CMYKcmyk(41.7%, 69.7%, 0%, 31.4%)
CIE-LABlab(34.93, 47.55, -57.10)
CIE-LCHlch(34.93, 74.30, 309.79°)
OKLaboklab(46.01% 0.083 -0.1631)
OKLCHoklch(46.01% 0.183 297)
XYZxyz(14.4884, 8.4659, 41.4199)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635AF #7EAF35
analogous
#3541AF #6635AF #A335AF
triadic
#6635AF #AF6635 #35AF66
tetradic
#6635AF #AF3541 #7EAF35 #35AFA3
square
#6635AF #AF3541 #7EAF35 #35AFA3
split-complementary
#6635AF #AFA335 #41AF35
monochromatic
#2F1951 #4B2780 #6635AF #8556CC #A785DA

Accessibility & contrast

On white

7.80
#6635AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6635AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635AF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635AF#FFFFFF#000000##FFFFFF
##6635AF1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#53536E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6635af;
/* rgb */ color: rgb(102, 53, 175);
/* oklch */ color: oklch(46.0% 0.183 297.0);
Tailwind
colors: {
  custom: {
    50: '#9870c8',
    500: '#6635af',
    950: '#000000',
  },
}
SCSS
$custom: #6635af;
$custom-light: #9870c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6635af",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 264.098,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.18302,
    "h": 297
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#6635AF
secondary
#A7C47C
accent
#DD4BA2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6635AF

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

Preview Lab → · Contrast checker → · Palette generator →

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