#6B59B2#6B59B2

#6B59B2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.5% C 0.136 H 290.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6B59B2
RGBrgb(107, 89, 178)
HSLhsl(252, 37%, 52%)
HSVhsv(252, 50%, 70%)
CMYKcmyk(39.9%, 50%, 0%, 30.2%)
CIE-LABlab(43.48, 28.97, -45.06)
CIE-LCHlch(43.48, 53.57, 302.73°)
OKLaboklab(52.45% 0.047 -0.1276)
OKLCHoklch(52.45% 0.136 290.2)
XYZxyz(17.6695, 13.4844, 43.7826)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B59B2 #A0B259
analogous
#5973B2 #6B59B2 #9859B2
triadic
#6B59B2 #B26B59 #59B26B
tetradic
#6B59B2 #B25973 #A0B259 #59B298
square
#6B59B2 #B25973 #A0B259 #59B298
split-complementary
#6B59B2 #B29859 #73B259
monochromatic
#392E63 #50418D #6B59B2 #9083C5 #B6ADD9

Accessibility & contrast

On white

5.68
#6B59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6B59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B59B2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B59B2#FFFFFF#000000##FFFFFF
##6B59B21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#586B7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b59b2;
/* rgb */ color: rgb(107, 89, 178);
/* oklch */ color: oklch(52.5% 0.136 290.2);
Tailwind
colors: {
  custom: {
    50: '#9988c9',
    500: '#6b59b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b59b2;
$custom-light: #9988c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b59b2",
  "rgb": {
    "r": 107,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 252.135,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.13598,
    "h": 290.2
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#6B59B2
secondary
#BFC7A0
accent
#CD5BB6
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6B59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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