#6C58CC#6C58CC

#6C58CC is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.1% C 0.172 H 287.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6C58CC
RGBrgb(108, 88, 204)
HSLhsl(250, 53%, 57%)
HSVhsv(250, 57%, 80%)
CMYKcmyk(47.1%, 56.9%, 0%, 20%)
CIE-LABlab(44.98, 37.36, -57.77)
CIE-LCHlch(44.98, 68.79, 302.89°)
OKLaboklab(54.11% 0.0507 -0.1649)
OKLCHoklch(54.11% 0.172 287.1)
XYZxyz(20.5700, 14.5263, 58.8351)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C58CC #B8CC58
analogous
#587ECC #6C58CC #A658CC
triadic
#6C58CC #CC6C58 #58CC6C
tetradic
#6C58CC #CC587E #B8CC58 #58CCA6
square
#6C58CC #CC587E #B8CC58 #58CCA6
split-complementary
#6C58CC #CCA658 #7ECC58
monochromatic
#372882 #4B36B1 #6C58CC #9587DA #BFB6E9

Accessibility & contrast

On white

5.38
#6C58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C58CC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C58CC#FFFFFF#000000##FFFFFF
##6C58CC1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066DD0
Deuteranopia (green-blind)
#0567CA
Tritanopia (blue-blind)
#4C7289
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c58cc;
/* rgb */ color: rgb(108, 88, 204);
/* oklch */ color: oklch(54.1% 0.172 287.1);
Tailwind
colors: {
  custom: {
    50: '#9d88dc',
    500: '#6c58cc',
    950: '#000000',
  },
}
SCSS
$custom: #6c58cc;
$custom-light: #9d88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c58cc",
  "rgb": {
    "r": 108,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 250.345,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.17249,
    "h": 287.1
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#6C58CC
secondary
#CFD7A8
accent
#DD4BC4
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6C58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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