#6F56AF#6F56AF

#6F56AF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.1% C 0.137 H 294.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6F56AF
RGBrgb(111, 86, 175)
HSLhsl(257, 36%, 51%)
HSVhsv(257, 51%, 69%)
CMYKcmyk(36.6%, 50.9%, 0%, 31.4%)
CIE-LABlab(42.96, 30.96, -44.12)
CIE-LCHlch(42.96, 53.90, 305.06°)
OKLaboklab(52.09% 0.0558 -0.1247)
OKLCHoklch(52.09% 0.137 294.1)
XYZxyz(17.6192, 13.1299, 42.1552)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F56AF #96AF56
analogous
#5669AF #6F56AF #9B56AF
triadic
#6F56AF #AF6F56 #56AF6F
tetradic
#6F56AF #AF5669 #96AF56 #56AF9B
square
#6F56AF #AF5669 #96AF56 #56AF9B
split-complementary
#6F56AF #AF9B56 #69AF56
monochromatic
#3A2D5E #544088 #6F56AF #9280C3 #B6A9D6

Accessibility & contrast

On white

5.79
#6F56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6F56AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F56AF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F56AF#FFFFFF#000000##FFFFFF
##6F56AF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#60687A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f56af;
/* rgb */ color: rgb(111, 86, 175);
/* oklch */ color: oklch(52.1% 0.137 294.1);
Tailwind
colors: {
  custom: {
    50: '#9c86c7',
    500: '#6f56af',
    950: '#000000',
  },
}
SCSS
$custom: #6f56af;
$custom-light: #9c86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f56af",
  "rgb": {
    "r": 111,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 256.854,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.13662,
    "h": 294.1
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#6F56AF
secondary
#B9C49D
accent
#CC5CAC
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6F56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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