#6F52BB#6F52BB

#6F52BB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.2% C 0.159 H 292.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6F52BB
RGBrgb(111, 82, 187)
HSLhsl(257, 44%, 53%)
HSVhsv(257, 56%, 73%)
CMYKcmyk(40.6%, 56.1%, 0%, 26.7%)
CIE-LABlab(42.77, 36.68, -51.46)
CIE-LCHlch(42.77, 63.19, 305.48°)
OKLaboklab(52.19% 0.0615 -0.1463)
OKLCHoklch(52.19% 0.159 292.8)
XYZxyz(18.5401, 13.0015, 48.5368)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52BB #9EBB52
analogous
#526ABB #6F52BB #A352BB
triadic
#6F52BB #BB6F52 #52BB6F
tetradic
#6F52BB #BB526A #9EBB52 #52BBA3
square
#6F52BB #BB526A #9EBB52 #52BBA3
split-complementary
#6F52BB #BBA352 #6ABB52
monochromatic
#3B2969 #543B95 #6F52BB #947ECC #B8AADE

Accessibility & contrast

On white

5.83
#6F52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6F52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52BB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52BB#FFFFFF#000000##FFFFFF
##6F52BB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#5B687E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f52bb;
/* rgb */ color: rgb(111, 82, 187);
/* oklch */ color: oklch(52.2% 0.159 292.8);
Tailwind
colors: {
  custom: {
    50: '#9d83d0',
    500: '#6f52bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f52bb;
$custom-light: #9d83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52bb",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 256.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.15868,
    "h": 292.8
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#6F52BB
secondary
#BFCB9E
accent
#D354B0
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #6F52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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