#6F45DF#6F45DF

#6F45DF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.220 H 289.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6F45DF
RGBrgb(111, 69, 223)
HSLhsl(256, 71%, 57%)
HSVhsv(256, 69%, 87%)
CMYKcmyk(50.2%, 69.1%, 0%, 12.5%)
CIE-LABlab(42.71, 53.94, -72.33)
CIE-LCHlch(42.71, 90.23, 306.72°)
OKLaboklab(52.97% 0.0721 -0.2076)
OKLCHoklch(52.97% 0.22 289.2)
XYZxyz(21.9991, 12.9625, 71.1406)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45DF #B5DF45
analogous
#4568DF #6F45DF #BC45DF
triadic
#6F45DF #DF6F45 #45DF6F
tetradic
#6F45DF #DF4568 #B5DF45 #45DFBC
square
#6F45DF #DF4568 #B5DF45 #45DFBC
split-complementary
#6F45DF #DFBC45 #68DF45
monochromatic
#3A1991 #4E22C5 #6F45DF #9779E8 #C0ADF1

Accessibility & contrast

On white

5.85
#6F45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6F45DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45DF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45DF#FFFFFF#000000##FFFFFF
##6F45DF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#476D8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f45df;
/* rgb */ color: rgb(111, 69, 223);
/* oklch */ color: oklch(53.0% 0.220 289.2);
Tailwind
colors: {
  custom: {
    50: '#a27cea',
    500: '#6f45df',
    950: '#000000',
  },
}
SCSS
$custom: #6f45df;
$custom-light: #a27cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45df",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 256.364,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.2198,
    "h": 289.2
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#6F45DF
secondary
#CEDFA1
accent
#ED3ABD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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