#6B58CA#6B58CA

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

Color values

HEX#6B58CA
RGBrgb(107, 88, 202)
HSLhsl(250, 52%, 57%)
HSVhsv(250, 56%, 79%)
CMYKcmyk(47%, 56.4%, 0%, 20.8%)
CIE-LABlab(44.76, 36.55, -56.97)
CIE-LCHlch(44.76, 67.69, 302.68°)
OKLaboklab(53.89% 0.0494 -0.1626)
OKLCHoklch(53.89% 0.17 286.9)
XYZxyz(20.2107, 14.3686, 57.5742)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B58CA #B7CA58
analogous
#587ECA #6B58CA #A458CA
triadic
#6B58CA #CA6B58 #58CA6B
tetradic
#6B58CA #CA587E #B7CA58 #58CAA4
square
#6B58CA #CA587E #B7CA58 #58CAA4
split-complementary
#6B58CA #CAA458 #7ECA58
monochromatic
#37287F #4B37AE #6B58CA #9486D9 #BDB5E7

Accessibility & contrast

On white

5.42
#6B58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6B58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B58CA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B58CA#FFFFFF#000000##FFFFFF
##6B58CA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6DCE
Deuteranopia (green-blind)
#0B67C8
Tritanopia (blue-blind)
#4C7188
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b58ca;
/* rgb */ color: rgb(107, 88, 202);
/* oklch */ color: oklch(53.9% 0.170 286.9);
Tailwind
colors: {
  custom: {
    50: '#9c88db',
    500: '#6b58ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b58ca;
$custom-light: #9c88db;
$custom-dark: #000000;
JSON
{
  "hex": "#6b58ca",
  "rgb": {
    "r": 107,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 250,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.16993,
    "h": 286.9
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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