#6E5EA2#6E5EA2

#6E5EA2 is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.7% C 0.105 H 293.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6E5EA2
RGBrgb(110, 94, 162)
HSLhsl(254, 27%, 50%)
HSVhsv(254, 42%, 64%)
CMYKcmyk(32.1%, 42%, 0%, 36.5%)
CIE-LABlab(44.13, 22.27, -34.59)
CIE-LCHlch(44.13, 41.14, 302.78°)
OKLaboklab(52.72% 0.0417 -0.0969)
OKLCHoklch(52.72% 0.105 293.3)
XYZxyz(16.9531, 13.9287, 35.9707)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E5EA2 #92A25E
analogous
#5E70A2 #6E5EA2 #905EA2
triadic
#6E5EA2 #A26E5E #5EA26E
tetradic
#6E5EA2 #A25E70 #92A25E #5EA290
square
#6E5EA2 #A25E70 #92A25E #5EA290
split-complementary
#6E5EA2 #A2905E #70A25E
monochromatic
#393155 #54477B #6E5EA2 #9185B8 #B4ACCF

Accessibility & contrast

On white

5.55
#6E5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6E5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E5EA2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E5EA2#FFFFFF#000000##FFFFFF
##6E5EA21.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#626A78
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e5ea2;
/* rgb */ color: rgb(110, 94, 162);
/* oklch */ color: oklch(52.7% 0.105 293.3);
Tailwind
colors: {
  custom: {
    50: '#998bbe',
    500: '#6e5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6e5ea2;
$custom-light: #998bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e5ea2",
  "rgb": {
    "r": 110,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 254.118,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.10549,
    "h": 293.3
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#6E5EA2
secondary
#B6BD9F
accent
#C365AD
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #6E5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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