#6A58CC#6A58CC

#6A58CC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.9% C 0.173 H 286.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6A58CC
RGBrgb(106, 88, 204)
HSLhsl(249, 53%, 57%)
HSVhsv(249, 57%, 80%)
CMYKcmyk(48%, 56.9%, 0%, 20%)
CIE-LABlab(44.80, 36.93, -58.05)
CIE-LCHlch(44.80, 68.81, 302.46°)
OKLaboklab(53.94% 0.0481 -0.1658)
OKLCHoklch(53.94% 0.173 286.2)
XYZxyz(20.3295, 14.4023, 58.8238)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A58CC #BACC58
analogous
#5880CC #6A58CC #A458CC
triadic
#6A58CC #CC6A58 #58CC6A
tetradic
#6A58CC #CC5880 #BACC58 #58CCA4
square
#6A58CC #CC5880 #BACC58 #58CCA4
split-complementary
#6A58CC #CCA458 #80CC58
monochromatic
#362882 #4936B1 #6A58CC #9487DA #BEB6E9

Accessibility & contrast

On white

5.41
#6A58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6A58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A58CC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A58CC#FFFFFF#000000##FFFFFF
##6A58CC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036DD0
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#487289
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a58cc;
/* rgb */ color: rgb(106, 88, 204);
/* oklch */ color: oklch(53.9% 0.173 286.2);
Tailwind
colors: {
  custom: {
    50: '#9b88dc',
    500: '#6a58cc',
    950: '#000000',
  },
}
SCSS
$custom: #6a58cc;
$custom-light: #9b88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a58cc",
  "rgb": {
    "r": 106,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 249.31,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53942,
    "c": 0.17265,
    "h": 286.2
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

primary
#6A58CC
secondary
#D0D7A8
accent
#DD4BC6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6A58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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