#6D52BB#6D52BB

#6D52BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.0% C 0.159 H 291.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6D52BB
RGBrgb(109, 82, 187)
HSLhsl(255, 44%, 53%)
HSVhsv(255, 56%, 73%)
CMYKcmyk(41.7%, 56.1%, 0%, 26.7%)
CIE-LABlab(42.57, 36.21, -51.78)
CIE-LCHlch(42.57, 63.19, 304.96°)
OKLaboklab(52% 0.0589 -0.1473)
OKLCHoklch(52% 0.159 291.8)
XYZxyz(18.2912, 12.8731, 48.5251)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52BB #A0BB52
analogous
#526BBB #6D52BB #A252BB
triadic
#6D52BB #BB6D52 #52BB6D
tetradic
#6D52BB #BB526B #A0BB52 #52BBA2
square
#6D52BB #BB526B #A0BB52 #52BBA2
split-complementary
#6D52BB #BBA252 #6BBB52
monochromatic
#3A2969 #523B95 #6D52BB #927ECC #B7AADE

Accessibility & contrast

On white

5.87
#6D52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6D52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52BB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52BB#FFFFFF#000000##FFFFFF
##6D52BB1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BF
Deuteranopia (green-blind)
#2162B9
Tritanopia (blue-blind)
#58697E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d52bb;
/* rgb */ color: rgb(109, 82, 187);
/* oklch */ color: oklch(52.0% 0.159 291.8);
Tailwind
colors: {
  custom: {
    50: '#9c83d0',
    500: '#6d52bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d52bb;
$custom-light: #9c83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52bb",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 255.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52,
    "c": 0.15862,
    "h": 291.8
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#6D52BB
secondary
#BFCB9E
accent
#D354B3
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #6D52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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