#6E59B4#6E59B4

#6E59B4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 52.9% C 0.139 H 291.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6E59B4
RGBrgb(110, 89, 180)
HSLhsl(254, 38%, 53%)
HSVhsv(254, 51%, 71%)
CMYKcmyk(38.9%, 50.6%, 0%, 29.4%)
CIE-LABlab(43.88, 30.30, -45.59)
CIE-LCHlch(43.88, 54.74, 303.61°)
OKLaboklab(52.85% 0.051 -0.1291)
OKLCHoklch(52.85% 0.139 291.6)
XYZxyz(18.2388, 13.7546, 44.8651)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E59B4 #9FB459
analogous
#5972B4 #6E59B4 #9B59B4
triadic
#6E59B4 #B46E59 #59B46E
tetradic
#6E59B4 #B45972 #9FB459 #59B49B
square
#6E59B4 #B45972 #9FB459 #59B49B
split-complementary
#6E59B4 #B49B59 #72B459
monochromatic
#3A2E65 #53418F #6E59B4 #9383C7 #B8ADDA

Accessibility & contrast

On white

5.60
#6E59B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6E59B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E59B4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E59B4#FFFFFF#000000##FFFFFF
##6E59B41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#5C6B7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e59b4;
/* rgb */ color: rgb(110, 89, 180);
/* oklch */ color: oklch(52.9% 0.139 291.6);
Tailwind
colors: {
  custom: {
    50: '#9b88cb',
    500: '#6e59b4',
    950: '#000000',
  },
}
SCSS
$custom: #6e59b4;
$custom-light: #9b88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e59b4",
  "rgb": {
    "r": 110,
    "g": 89,
    "b": 180
  },
  "hsl": {
    "h": 253.846,
    "s": 37.759,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.13876,
    "h": 291.6
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#6E59B4
secondary
#BFC8A1
accent
#CE5AB3
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6E59B4

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

Preview Lab → · Contrast checker → · Palette generator →

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