#6D58F5#6D58F5

#6D58F5 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.3% C 0.224 H 282.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6D58F5
RGBrgb(109, 88, 245)
HSLhsl(248, 89%, 65%)
HSVhsv(248, 64%, 96%)
CMYKcmyk(55.5%, 64.1%, 0%, 3.9%)
CIE-LABlab(48.03, 49.70, -76.05)
CIE-LCHlch(48.03, 90.85, 303.16°)
OKLaboklab(57.3% 0.0496 -0.2186)
OKLCHoklch(57.3% 0.224 282.8)
XYZxyz(26.2728, 16.8216, 88.2310)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D58F5 #E0F558
analogous
#5892F5 #6D58F5 #BB58F5
triadic
#6D58F5 #F56D58 #58F56D
tetradic
#6D58F5 #F55892 #E0F558 #58F5BB
square
#6D58F5 #F55892 #E0F558 #58F5BB
split-complementary
#6D58F5 #F5BB58 #92F558
monochromatic
#250CC7 #3B1EF2 #6D58F5 #9F92F8 #D2CBFC

Accessibility & contrast

On white

4.81
#6D58F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6D58F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D58F5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D58F5#FFFFFF#000000##FFFFFF
##6D58F51.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#287F9F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d58f5;
/* rgb */ color: rgb(109, 88, 245);
/* oklch */ color: oklch(57.3% 0.224 282.8);
Tailwind
colors: {
  custom: {
    50: '#a388fa',
    500: '#6d58f5',
    950: '#000000',
  },
}
SCSS
$custom: #6d58f5;
$custom-light: #a388fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d58f5",
  "rgb": {
    "r": 109,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 248.025,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.2242,
    "h": 282.8
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#6D58F5
secondary
#E8EFBA
accent
#E500C7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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