#6B58BB#6B58BB

#6B58BB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 52.9% C 0.150 H 289.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6B58BB
RGBrgb(107, 88, 187)
HSLhsl(252, 42%, 54%)
HSVhsv(252, 53%, 73%)
CMYKcmyk(42.8%, 52.9%, 0%, 26.7%)
CIE-LABlab(43.79, 32.16, -49.84)
CIE-LCHlch(43.79, 59.31, 302.84°)
OKLaboklab(52.86% 0.0489 -0.1416)
OKLCHoklch(52.86% 0.15 289.1)
XYZxyz(18.5203, 13.6925, 48.6712)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B58BB #A8BB58
analogous
#5877BB #6B58BB #9D58BB
triadic
#6B58BB #BB6B58 #58BB6B
tetradic
#6B58BB #BB5877 #A8BB58 #58BB9D
square
#6B58BB #BB5877 #A8BB58 #58BB9D
split-complementary
#6B58BB #BB9D58 #77BB58
monochromatic
#382C6C #4F3E98 #6B58BB #9283CD #B8AFDE

Accessibility & contrast

On white

5.62
#6B58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6B58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B58BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B58BB#FFFFFF#000000##FFFFFF
##6B58BB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABE
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#546D81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b58bb;
/* rgb */ color: rgb(107, 88, 187);
/* oklch */ color: oklch(52.9% 0.150 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a87d0',
    500: '#6b58bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b58bb;
$custom-light: #9a87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b58bb",
  "rgb": {
    "r": 107,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 251.515,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.14983,
    "h": 289.1
  },
  "luminance": 0.13693
}

Semantic roles & 50–950 ramp

primary
#6B58BB
secondary
#C4CDA2
accent
#D256BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6B58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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