#6A58DF#6A58DF

#6A58DF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.3% C 0.197 H 284.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6A58DF
RGBrgb(106, 88, 223)
HSLhsl(248, 68%, 61%)
HSVhsv(248, 61%, 87%)
CMYKcmyk(52.5%, 60.5%, 0%, 12.5%)
CIE-LABlab(46.14, 42.61, -66.76)
CIE-LCHlch(46.14, 79.20, 302.55°)
OKLaboklab(55.34% 0.0476 -0.1914)
OKLCHoklch(55.34% 0.197 284)
XYZxyz(22.7488, 15.3701, 71.5657)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A58DF #CDDF58
analogous
#5889DF #6A58DF #AD58DF
triadic
#6A58DF #DF6A58 #58DF6A
tetradic
#6A58DF #DF5889 #CDDF58 #58DFAD
square
#6A58DF #DF5889 #CDDF58 #58DFAD
split-complementary
#6A58DF #DFAD58 #89DF58
monochromatic
#2F1E9E #3F28D2 #6A58DF #988BE9 #C6BFF3

Accessibility & contrast

On white

5.15
#6A58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6A58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A58DF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A58DF#FFFFFF#000000##FFFFFF
##6A58DF1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#397893
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a58df;
/* rgb */ color: rgb(106, 88, 223);
/* oklch */ color: oklch(55.3% 0.197 284.0);
Tailwind
colors: {
  custom: {
    50: '#9e88ea',
    500: '#6a58df',
    950: '#000000',
  },
}
SCSS
$custom: #6a58df;
$custom-light: #9e88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6a58df",
  "rgb": {
    "r": 106,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 248,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55344,
    "c": 0.19723,
    "h": 284
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#6A58DF
secondary
#DCE3B0
accent
#D016B7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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