#6A58CD#6A58CD

#6A58CD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.0% C 0.174 H 286.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6A58CD
RGBrgb(106, 88, 205)
HSLhsl(249, 54%, 57%)
HSVhsv(249, 57%, 80%)
CMYKcmyk(48.3%, 57.1%, 0%, 19.6%)
CIE-LABlab(44.87, 37.23, -58.52)
CIE-LCHlch(44.87, 69.36, 302.46°)
OKLaboklab(54.01% 0.0481 -0.1672)
OKLCHoklch(54.01% 0.174 286.1)
XYZxyz(20.4498, 14.4505, 59.4575)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A58CD #BBCD58
analogous
#5880CD #6A58CD #A558CD
triadic
#6A58CD #CD6A58 #58CD6A
tetradic
#6A58CD #CD5880 #BBCD58 #58CDA5
square
#6A58CD #CD5880 #BBCD58 #58CDA5
split-complementary
#6A58CD #CDA558 #80CD58
monochromatic
#352783 #4935B2 #6A58CD #9487DB #BEB6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A58CD#FFFFFF#000000##FFFFFF
##6A58CD1.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)
#006DD1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#48728A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a58cd;
/* rgb */ color: rgb(106, 88, 205);
/* oklch */ color: oklch(54.0% 0.174 286.1);
Tailwind
colors: {
  custom: {
    50: '#9b88dd',
    500: '#6a58cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a58cd;
$custom-light: #9b88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a58cd",
  "rgb": {
    "r": 106,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 249.231,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.17396,
    "h": 286.1
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#6A58CD
secondary
#D1D8A9
accent
#DD4BC7
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6A58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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