#6E57A2#6E57A2

#6E57A2 is a mid, moderate violet. Relative luminance 0.127; OKLCH L 51.4% C 0.117 H 296.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6E57A2
RGBrgb(110, 87, 162)
HSLhsl(258, 30%, 49%)
HSVhsv(258, 46%, 64%)
CMYKcmyk(32.1%, 46.3%, 0%, 36.5%)
CIE-LABlab(42.37, 26.54, -37.37)
CIE-LCHlch(42.37, 45.83, 305.38°)
OKLaboklab(51.39% 0.0516 -0.105)
OKLCHoklch(51.39% 0.117 296.2)
XYZxyz(16.3586, 12.7398, 35.7726)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E57A2 #8BA257
analogous
#5766A2 #6E57A2 #9457A2
triadic
#6E57A2 #A26E57 #57A26E
tetradic
#6E57A2 #A25766 #8BA257 #57A294
square
#6E57A2 #A25766 #8BA257 #57A294
split-complementary
#6E57A2 #A29457 #66A257
monochromatic
#382C52 #53427A #6E57A2 #8F7DB9 #B2A5CF

Accessibility & contrast

On white

5.92
#6E57A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6E57A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E57A2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E57A2#FFFFFF#000000##FFFFFF
##6E57A21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#636575
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e57a2;
/* rgb */ color: rgb(110, 87, 162);
/* oklch */ color: oklch(51.4% 0.117 296.2);
Tailwind
colors: {
  custom: {
    50: '#9a87be',
    500: '#6e57a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e57a2;
$custom-light: #9a87be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e57a2",
  "rgb": {
    "r": 110,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 258.4,
    "s": 30.12,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.11702,
    "h": 296.2
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#6E57A2
secondary
#B1BC99
accent
#C661A7
background
#F9F8FB
surface
#F2EFF7
border
#CCCAD0
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #6E57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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