#6C58CA#6C58CA

#6C58CA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.170 H 287.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6C58CA
RGBrgb(108, 88, 202)
HSLhsl(251, 52%, 57%)
HSVhsv(251, 56%, 79%)
CMYKcmyk(46.5%, 56.4%, 0%, 20.8%)
CIE-LABlab(44.84, 36.77, -56.83)
CIE-LCHlch(44.84, 67.69, 302.90°)
OKLaboklab(53.97% 0.0507 -0.1621)
OKLCHoklch(53.97% 0.17 287.3)
XYZxyz(20.3317, 14.4310, 57.5798)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C58CA #B6CA58
analogous
#587DCA #6C58CA #A558CA
triadic
#6C58CA #CA6C58 #58CA6C
tetradic
#6C58CA #CA587D #B6CA58 #58CAA5
square
#6C58CA #CA587D #B6CA58 #58CAA5
split-complementary
#6C58CA #CAA558 #7DCA58
monochromatic
#38287F #4C37AE #6C58CA #9586D9 #BEB5E7

Accessibility & contrast

On white

5.40
#6C58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6C58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C58CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C58CA#FFFFFF#000000##FFFFFF
##6C58CA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCE
Deuteranopia (green-blind)
#0E67C8
Tritanopia (blue-blind)
#4E7188
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c58ca;
/* rgb */ color: rgb(108, 88, 202);
/* oklch */ color: oklch(54.0% 0.170 287.3);
Tailwind
colors: {
  custom: {
    50: '#9c88db',
    500: '#6c58ca',
    950: '#000000',
  },
}
SCSS
$custom: #6c58ca;
$custom-light: #9c88db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c58ca",
  "rgb": {
    "r": 108,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 250.526,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.16987,
    "h": 287.3
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#6C58CA
secondary
#CED6A8
accent
#DB4DC2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6C58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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