#6F45E5#6F45E5

#6F45E5 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.227 H 288.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6F45E5
RGBrgb(111, 69, 229)
HSLhsl(256, 75%, 58%)
HSVhsv(256, 70%, 90%)
CMYKcmyk(51.5%, 69.9%, 0%, 10.2%)
CIE-LABlab(43.20, 55.60, -74.93)
CIE-LCHlch(43.20, 93.31, 306.58°)
OKLaboklab(53.48% 0.071 -0.2153)
OKLCHoklch(53.48% 0.227 288.3)
XYZxyz(22.8224, 13.2918, 75.4766)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45E5 #BBE545
analogous
#456BE5 #6F45E5 #BF45E5
triadic
#6F45E5 #E56F45 #45E56F
tetradic
#6F45E5 #E5456B #BBE545 #45E5BF
square
#6F45E5 #E5456B #BBE545 #45E5BF
split-complementary
#6F45E5 #E5BF45 #6BE545
monochromatic
#38169A #4C1DD0 #6F45E5 #997BED #C2B0F4

Accessibility & contrast

On white

5.74
#6F45E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6F45E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45E5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45E5#FFFFFF#000000##FFFFFF
##6F45E51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#426F90
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f45e5;
/* rgb */ color: rgb(111, 69, 229);
/* oklch */ color: oklch(53.5% 0.227 288.3);
Tailwind
colors: {
  custom: {
    50: '#a37cee',
    500: '#6f45e5',
    950: '#000000',
  },
}
SCSS
$custom: #6f45e5;
$custom-light: #a37cee;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45e5",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 255.75,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.22669,
    "h": 288.3
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#6F45E5
secondary
#D2E3A3
accent
#F236C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6F45E5

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

Preview Lab → · Contrast checker → · Palette generator →

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