#6535DF#6535DF

#6535DF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.237 H 287.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6535DF
RGBrgb(101, 53, 223)
HSLhsl(257, 73%, 54%)
HSVhsv(257, 76%, 87%)
CMYKcmyk(54.7%, 76.2%, 0%, 12.5%)
CIE-LABlab(38.97, 60.25, -78.50)
CIE-LCHlch(38.97, 98.95, 307.51°)
OKLaboklab(50.1% 0.0705 -0.2259)
OKLCHoklch(50.1% 0.237 287.3)
XYZxyz(19.9553, 10.6396, 70.7999)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6535DF #AFDF35
analogous
#355ADF #6535DF #BA35DF
triadic
#6535DF #DF6535 #35DF65
tetradic
#6535DF #DF355A #AFDF35 #35DFBA
square
#6535DF #DF355A #AFDF35 #35DFBA
split-complementary
#6535DF #DFBA35 #5ADF35
monochromatic
#351585 #491DB9 #6535DF #8D6AE7 #B69FF0

Accessibility & contrast

On white

6.71
#6535DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6535DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6535DF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6535DF#FFFFFF#000000##FFFFFF
##6535DF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E4
Deuteranopia (green-blind)
#0057DC
Tritanopia (blue-blind)
#2F6689
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6535df;
/* rgb */ color: rgb(101, 53, 223);
/* oklch */ color: oklch(50.1% 0.237 287.3);
Tailwind
colors: {
  custom: {
    50: '#9d72ea',
    500: '#6535df',
    950: '#000000',
  },
}
SCSS
$custom: #6535df;
$custom-light: #9d72ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6535df",
  "rgb": {
    "r": 101,
    "g": 53,
    "b": 223
  },
  "hsl": {
    "h": 256.941,
    "s": 72.65,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.23667,
    "h": 287.3
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#6535DF
secondary
#C8DC94
accent
#EF38BC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6535DF

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

Preview Lab → · Contrast checker → · Palette generator →

#6535DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva