#6A58DB#6A58DB

#6A58DB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 55.0% C 0.192 H 284.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6A58DB
RGBrgb(106, 88, 219)
HSLhsl(248, 65%, 60%)
HSVhsv(248, 60%, 86%)
CMYKcmyk(51.6%, 59.8%, 0%, 14.1%)
CIE-LABlab(45.85, 41.41, -64.95)
CIE-LCHlch(45.85, 77.03, 302.52°)
OKLaboklab(55.04% 0.0478 -0.1861)
OKLCHoklch(55.04% 0.192 284.4)
XYZxyz(22.2159, 15.1569, 68.7591)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A58DB #C9DB58
analogous
#5888DB #6A58DB #AB58DB
triadic
#6A58DB #DB6A58 #58DB6A
tetradic
#6A58DB #DB5888 #C9DB58 #58DBAB
square
#6A58DB #DB5888 #C9DB58 #58DBAB
split-complementary
#6A58DB #DBAB58 #88DB58
monochromatic
#312198 #412CCA #6A58DB #978AE6 #C4BDF1

Accessibility & contrast

On white

5.21
#6A58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6A58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A58DB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A58DB#FFFFFF#000000##FFFFFF
##6A58DB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#3D7791
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a58db;
/* rgb */ color: rgb(106, 88, 219);
/* oklch */ color: oklch(55.0% 0.192 284.4);
Tailwind
colors: {
  custom: {
    50: '#9d88e7',
    500: '#6a58db',
    950: '#000000',
  },
}
SCSS
$custom: #6a58db;
$custom-light: #9d88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a58db",
  "rgb": {
    "r": 106,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 248.244,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.19213,
    "h": 284.4
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#6A58DB
secondary
#DAE1AE
accent
#CC19B4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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