#6C52BB#6C52BB

#6C52BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.9% C 0.159 H 291.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6C52BB
RGBrgb(108, 82, 187)
HSLhsl(255, 44%, 53%)
HSVhsv(255, 56%, 73%)
CMYKcmyk(42.2%, 56.1%, 0%, 26.7%)
CIE-LABlab(42.48, 35.98, -51.94)
CIE-LCHlch(42.48, 63.18, 304.71°)
OKLaboklab(51.91% 0.0576 -0.1478)
OKLCHoklch(51.91% 0.159 291.3)
XYZxyz(18.1688, 12.8100, 48.5194)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52BB #A1BB52
analogous
#526DBB #6C52BB #A052BB
triadic
#6C52BB #BB6C52 #52BB6C
tetradic
#6C52BB #BB526D #A1BB52 #52BBA0
square
#6C52BB #BB526D #A1BB52 #52BBA0
split-complementary
#6C52BB #BBA052 #6DBB52
monochromatic
#392969 #513B95 #6C52BB #917ECC #B7AADE

Accessibility & contrast

On white

5.90
#6C52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6C52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52BB#FFFFFF#000000##FFFFFF
##6C52BB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#56697E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c52bb;
/* rgb */ color: rgb(108, 82, 187);
/* oklch */ color: oklch(51.9% 0.159 291.3);
Tailwind
colors: {
  custom: {
    50: '#9b83d0',
    500: '#6c52bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c52bb;
$custom-light: #9b83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52bb",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 254.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.1586,
    "h": 291.3
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#6C52BB
secondary
#C0CB9E
accent
#D354B4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #6C52BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6C52BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva