#6B59A8#6B59A8

#6B59A8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 51.8% C 0.122 H 292.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6B59A8
RGBrgb(107, 89, 168)
HSLhsl(254, 31%, 50%)
HSVhsv(254, 47%, 66%)
CMYKcmyk(36.3%, 47%, 0%, 34.1%)
CIE-LABlab(42.91, 26.14, -40.09)
CIE-LCHlch(42.91, 47.85, 303.10°)
OKLaboklab(51.84% 0.0459 -0.113)
OKLCHoklch(51.84% 0.122 292.1)
XYZxyz(16.7018, 13.0973, 38.6863)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B59A8 #96A859
analogous
#596EA8 #6B59A8 #9259A8
triadic
#6B59A8 #A86B59 #59A86B
tetradic
#6B59A8 #A8596E #96A859 #59A892
square
#6B59A8 #A8596E #96A859 #59A892
split-complementary
#6B59A8 #A89259 #6EA859
monochromatic
#382E58 #514380 #6B59A8 #8F81BD #B3A9D2

Accessibility & contrast

On white

5.80
#6B59A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B59A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B59A8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B59A8#FFFFFF#000000##FFFFFF
##6B59A81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#5C6878
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b59a8;
/* rgb */ color: rgb(107, 89, 168);
/* oklch */ color: oklch(51.8% 0.122 292.1);
Tailwind
colors: {
  custom: {
    50: '#9888c2',
    500: '#6b59a8',
    950: '#000000',
  },
}
SCSS
$custom: #6b59a8;
$custom-light: #9888c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b59a8",
  "rgb": {
    "r": 107,
    "g": 89,
    "b": 168
  },
  "hsl": {
    "h": 253.671,
    "s": 31.225,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.12198,
    "h": 292.1
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#6B59A8
secondary
#B8C09D
accent
#C760B0
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #6B59A8

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

Preview Lab → · Contrast checker → · Palette generator →

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