#6B58E4#6B58E4

#6B58E4 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.203 H 283.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6B58E4
RGBrgb(107, 88, 228)
HSLhsl(248, 72%, 62%)
HSVhsv(248, 61%, 89%)
CMYKcmyk(53.1%, 61.4%, 0%, 10.6%)
CIE-LABlab(46.59, 44.29, -68.86)
CIE-LCHlch(46.59, 81.87, 302.75°)
OKLaboklab(55.81% 0.0486 -0.1976)
OKLCHoklch(55.81% 0.203 283.8)
XYZxyz(23.5525, 15.7053, 75.1741)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B58E4 #D1E458
analogous
#588BE4 #6B58E4 #B158E4
triadic
#6B58E4 #E46B58 #58E46B
tetradic
#6B58E4 #E4588B #D1E458 #58E4B1
square
#6B58E4 #E4588B #D1E458 #58E4B1
split-complementary
#6B58E4 #E4B158 #8BE458
monochromatic
#2E1BA7 #3C23DB #6B58E4 #9A8DED #C8C1F5

Accessibility & contrast

On white

5.07
#6B58E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6B58E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B58E4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B58E4#FFFFFF#000000##FFFFFF
##6B58E41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#377A96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b58e4;
/* rgb */ color: rgb(107, 88, 228);
/* oklch */ color: oklch(55.8% 0.203 283.8);
Tailwind
colors: {
  custom: {
    50: '#9f88ed',
    500: '#6b58e4',
    950: '#000000',
  },
}
SCSS
$custom: #6b58e4;
$custom-light: #9f88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6b58e4",
  "rgb": {
    "r": 107,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 248.143,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.20344,
    "h": 283.8
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#6B58E4
secondary
#DFE6B2
accent
#D411BA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6B58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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