#6D52F1#6D52F1

#6D52F1 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.226 H 284.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6D52F1
RGBrgb(109, 82, 241)
HSLhsl(250, 85%, 63%)
HSVhsv(250, 66%, 95%)
CMYKcmyk(54.8%, 66%, 0%, 5.5%)
CIE-LABlab(46.49, 51.83, -76.33)
CIE-LCHlch(46.49, 92.27, 304.18°)
OKLaboklab(56.09% 0.0553 -0.2195)
OKLCHoklch(56.09% 0.226 284.1)
XYZxyz(25.1963, 15.6352, 84.8922)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52F1 #D6F152
analogous
#5286F1 #6D52F1 #BD52F1
triadic
#6D52F1 #F16D52 #52F16D
tetradic
#6D52F1 #F15286 #D6F152 #52F1BD
square
#6D52F1 #F15286 #D6F152 #52F1BD
split-complementary
#6D52F1 #F1BD52 #86F152
monochromatic
#2C0FBA #3D19EC #6D52F1 #9D8BF6 #CDC3FA

Accessibility & contrast

On white

5.09
#6D52F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6D52F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52F1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52F1#FFFFFF#000000##FFFFFF
##6D52F11.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#2F7B9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d52f1;
/* rgb */ color: rgb(109, 82, 241);
/* oklch */ color: oklch(56.1% 0.226 284.1);
Tailwind
colors: {
  custom: {
    50: '#a284f7',
    500: '#6d52f1',
    950: '#000000',
  },
}
SCSS
$custom: #6d52f1;
$custom-light: #a284f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52f1",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 250.189,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56092,
    "c": 0.22632,
    "h": 284.1
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#6D52F1
secondary
#E2ECB3
accent
#E204BC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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