#6F57B0#6F57B0

#6F57B0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.3% C 0.136 H 293.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6F57B0
RGBrgb(111, 87, 176)
HSLhsl(256, 36%, 52%)
HSVhsv(256, 51%, 69%)
CMYKcmyk(36.9%, 50.6%, 0%, 31%)
CIE-LABlab(43.26, 30.64, -44.23)
CIE-LCHlch(43.26, 53.80, 304.71°)
OKLaboklab(52.34% 0.0545 -0.125)
OKLCHoklch(52.34% 0.136 293.6)
XYZxyz(17.7982, 13.3301, 42.7011)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F57B0 #98B057
analogous
#576CB0 #6F57B0 #9C57B0
triadic
#6F57B0 #B06F57 #57B06F
tetradic
#6F57B0 #B0576C #98B057 #57B09C
square
#6F57B0 #B0576C #98B057 #57B09C
split-complementary
#6F57B0 #B09C57 #6CB057
monochromatic
#3B2D60 #544189 #6F57B0 #9381C4 #B6AAD7

Accessibility & contrast

On white

5.73
#6F57B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6F57B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F57B0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F57B0#FFFFFF#000000##FFFFFF
##6F57B01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#3965AE
Tritanopia (blue-blind)
#5F697B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f57b0;
/* rgb */ color: rgb(111, 87, 176);
/* oklch */ color: oklch(52.3% 0.136 293.6);
Tailwind
colors: {
  custom: {
    50: '#9c87c8',
    500: '#6f57b0',
    950: '#000000',
  },
}
SCSS
$custom: #6f57b0;
$custom-light: #9c87c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f57b0",
  "rgb": {
    "r": 111,
    "g": 87,
    "b": 176
  },
  "hsl": {
    "h": 256.18,
    "s": 36.032,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.13642,
    "h": 293.6
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#6F57B0
secondary
#BAC59E
accent
#CC5CAE
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6F57B0

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

Preview Lab → · Contrast checker → · Palette generator →

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