#6F59CC#6F59CC

#6F59CC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.171 H 288.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6F59CC
RGBrgb(111, 89, 204)
HSLhsl(251, 53%, 57%)
HSVhsv(251, 56%, 80%)
CMYKcmyk(45.6%, 56.4%, 0%, 20%)
CIE-LABlab(45.47, 37.41, -56.95)
CIE-LCHlch(45.47, 68.14, 303.30°)
OKLaboklab(54.54% 0.0534 -0.1624)
OKLCHoklch(54.54% 0.171 288.2)
XYZxyz(21.0239, 14.8831, 58.8800)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F59CC #B6CC59
analogous
#597DCC #6F59CC #A859CC
triadic
#6F59CC #CC6F59 #59CC6F
tetradic
#6F59CC #CC597D #B6CC59 #59CCA8
square
#6F59CC #CC597D #B6CC59 #59CCA8
split-complementary
#6F59CC #CCA859 #7DCC59
monochromatic
#392883 #4E36B1 #6F59CC #9888DA #C0B7E9

Accessibility & contrast

On white

5.28
#6F59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6F59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F59CC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F59CC#FFFFFF#000000##FFFFFF
##6F59CC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ED0
Deuteranopia (green-blind)
#1369CA
Tritanopia (blue-blind)
#52728A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f59cc;
/* rgb */ color: rgb(111, 89, 204);
/* oklch */ color: oklch(54.5% 0.171 288.2);
Tailwind
colors: {
  custom: {
    50: '#9e88dc',
    500: '#6f59cc',
    950: '#000000',
  },
}
SCSS
$custom: #6f59cc;
$custom-light: #9e88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f59cc",
  "rgb": {
    "r": 111,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 251.478,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.17095,
    "h": 288.2
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#6F59CC
secondary
#CFD8A9
accent
#DC4BC1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6F59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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