#6E58CA#6E58CA

#6E58CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.1% C 0.170 H 288.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6E58CA
RGBrgb(110, 88, 202)
HSLhsl(252, 52%, 57%)
HSVhsv(252, 56%, 79%)
CMYKcmyk(45.5%, 56.4%, 0%, 20.8%)
CIE-LABlab(45.02, 37.20, -56.53)
CIE-LCHlch(45.02, 67.68, 303.35°)
OKLaboklab(54.15% 0.0532 -0.1612)
OKLCHoklch(54.15% 0.17 288.3)
XYZxyz(20.5778, 14.5579, 57.5914)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E58CA #B4CA58
analogous
#587BCA #6E58CA #A758CA
triadic
#6E58CA #CA6E58 #58CA6E
tetradic
#6E58CA #CA587B #B4CA58 #58CAA7
square
#6E58CA #CA587B #B4CA58 #58CAA7
split-complementary
#6E58CA #CAA758 #7BCA58
monochromatic
#39287F #4E37AE #6E58CA #9686D9 #BFB5E7

Accessibility & contrast

On white

5.37
#6E58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6E58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E58CA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E58CA#FFFFFF#000000##FFFFFF
##6E58CA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116DCE
Deuteranopia (green-blind)
#1368C8
Tritanopia (blue-blind)
#517188
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6e58ca;
/* rgb */ color: rgb(110, 88, 202);
/* oklch */ color: oklch(54.1% 0.170 288.3);
Tailwind
colors: {
  custom: {
    50: '#9e88db',
    500: '#6e58ca',
    950: '#000000',
  },
}
SCSS
$custom: #6e58ca;
$custom-light: #9e88db;
$custom-dark: #000000;
JSON
{
  "hex": "#6e58ca",
  "rgb": {
    "r": 110,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 251.579,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.16976,
    "h": 288.3
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#6E58CA
secondary
#CDD6A8
accent
#DB4DC0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6E58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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