#6F58DC#6F58DC

#6F58DC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.193 H 286.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6F58DC
RGBrgb(111, 88, 220)
HSLhsl(250, 65%, 60%)
HSVhsv(250, 60%, 86%)
CMYKcmyk(49.5%, 60%, 0%, 13.7%)
CIE-LABlab(46.35, 42.67, -64.70)
CIE-LCHlch(46.35, 77.50, 303.40°)
OKLaboklab(55.53% 0.0541 -0.1852)
OKLCHoklch(55.53% 0.193 286.3)
XYZxyz(22.9597, 15.5252, 69.4831)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F58DC #C5DC58
analogous
#5883DC #6F58DC #B158DC
triadic
#6F58DC #DC6F58 #58DC6F
tetradic
#6F58DC #DC5883 #C5DC58 #58DCB1
square
#6F58DC #DC5883 #C5DC58 #58DCB1
split-complementary
#6F58DC #DCB158 #83DC58
monochromatic
#352099 #472BCC #6F58DC #9B8BE7 #C6BDF1

Accessibility & contrast

On white

5.12
#6F58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6F58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F58DC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F58DC#FFFFFF#000000##FFFFFF
##6F58DC1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#487792
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f58dc;
/* rgb */ color: rgb(111, 88, 220);
/* oklch */ color: oklch(55.5% 0.193 286.3);
Tailwind
colors: {
  custom: {
    50: '#a088e8',
    500: '#6f58dc',
    950: '#000000',
  },
}
SCSS
$custom: #6f58dc;
$custom-light: #a088e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f58dc",
  "rgb": {
    "r": 111,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 250.455,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.19293,
    "h": 286.3
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#6F58DC
secondary
#D8E1AF
accent
#CD18AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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