#6D58CB#6D58CB

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

Color values

HEX#6D58CB
RGBrgb(109, 88, 203)
HSLhsl(251, 53%, 57%)
HSVhsv(251, 57%, 80%)
CMYKcmyk(46.3%, 56.7%, 0%, 20.4%)
CIE-LABlab(45.00, 37.28, -57.15)
CIE-LCHlch(45.00, 68.23, 303.12°)
OKLaboklab(54.13% 0.0519 -0.1631)
OKLCHoklch(54.13% 0.171 287.7)
XYZxyz(20.5728, 14.5416, 58.2112)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D58CB #B6CB58
analogous
#587CCB #6D58CB #A758CB
triadic
#6D58CB #CB6D58 #58CB6D
tetradic
#6D58CB #CB587C #B6CB58 #58CBA7
square
#6D58CB #CB587C #B6CB58 #58CBA7
split-complementary
#6D58CB #CBA758 #7CCB58
monochromatic
#382881 #4D37AF #6D58CB #9687DA #BFB5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D58CB#FFFFFF#000000##FFFFFF
##6D58CB1.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)
#0C6DCF
Deuteranopia (green-blind)
#0D67C9
Tritanopia (blue-blind)
#4F7289
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d58cb;
/* rgb */ color: rgb(109, 88, 203);
/* oklch */ color: oklch(54.1% 0.171 287.7);
Tailwind
colors: {
  custom: {
    50: '#9d88dc',
    500: '#6d58cb',
    950: '#000000',
  },
}
SCSS
$custom: #6d58cb;
$custom-light: #9d88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d58cb",
  "rgb": {
    "r": 109,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 250.957,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.17113,
    "h": 287.7
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#6D58CB
secondary
#CED7A8
accent
#DC4CC2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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