#6635C4#6635C4

#6635C4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.207 H 292.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6635C4
RGBrgb(102, 53, 196)
HSLhsl(261, 57%, 49%)
HSVhsv(261, 73%, 77%)
CMYKcmyk(48%, 73%, 0%, 23.1%)
CIE-LABlab(36.66, 53.14, -66.67)
CIE-LCHlch(36.66, 85.25, 308.56°)
OKLaboklab(47.77% 0.0788 -0.1912)
OKLCHoklch(47.77% 0.207 292.4)
XYZxyz(16.7136, 9.3559, 53.1391)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635C4 #93C435
analogous
#354CC4 #6635C4 #AE35C4
triadic
#6635C4 #C46635 #35C466
tetradic
#6635C4 #C4354C #93C435 #35C4AE
square
#6635C4 #C4354C #93C435 #35C4AE
split-complementary
#6635C4 #C4AE35 #4CC435
monochromatic
#341B64 #4D2894 #6635C4 #8962D4 #AD92E1

Accessibility & contrast

On white

7.31
#6635C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6635C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635C4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635C4#FFFFFF#000000##FFFFFF
##6635C41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#485B7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6635c4;
/* rgb */ color: rgb(102, 53, 196);
/* oklch */ color: oklch(47.8% 0.207 292.4);
Tailwind
colors: {
  custom: {
    50: '#9a71d7',
    500: '#6635c4',
    950: '#000000',
  },
}
SCSS
$custom: #6635c4;
$custom-light: #9a71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6635c4",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 260.559,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.20684,
    "h": 292.4
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#6635C4
secondary
#B5CC88
accent
#E147AC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6635C4

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

Preview Lab → · Contrast checker → · Palette generator →

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