#6F58CA#6F58CA

#6F58CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.170 H 288.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6F58CA
RGBrgb(111, 88, 202)
HSLhsl(252, 52%, 57%)
HSVhsv(252, 56%, 79%)
CMYKcmyk(45%, 56.4%, 0%, 20.8%)
CIE-LABlab(45.11, 37.42, -56.38)
CIE-LCHlch(45.11, 67.67, 303.57°)
OKLaboklab(54.24% 0.0545 -0.1607)
OKLCHoklch(54.24% 0.17 288.7)
XYZxyz(20.7029, 14.6224, 57.5972)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F58CA #B3CA58
analogous
#587ACA #6F58CA #A858CA
triadic
#6F58CA #CA6F58 #58CA6F
tetradic
#6F58CA #CA587A #B3CA58 #58CAA8
square
#6F58CA #CA587A #B3CA58 #58CAA8
split-complementary
#6F58CA #CAA858 #7ACA58
monochromatic
#3A287F #4F37AE #6F58CA #9786D9 #BFB5E7

Accessibility & contrast

On white

5.35
#6F58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6F58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F58CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F58CA#FFFFFF#000000##FFFFFF
##6F58CA1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126DCE
Deuteranopia (green-blind)
#1568C8
Tritanopia (blue-blind)
#537188
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6f58ca;
/* rgb */ color: rgb(111, 88, 202);
/* oklch */ color: oklch(54.2% 0.170 288.7);
Tailwind
colors: {
  custom: {
    50: '#9e88db',
    500: '#6f58ca',
    950: '#000000',
  },
}
SCSS
$custom: #6f58ca;
$custom-light: #9e88db;
$custom-dark: #000000;
JSON
{
  "hex": "#6f58ca",
  "rgb": {
    "r": 111,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 252.105,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.16972,
    "h": 288.7
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#6F58CA
secondary
#CDD6A8
accent
#DB4DBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6F58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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