#6F45C8#6F45C8

#6F45C8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.193 H 293.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6F45C8
RGBrgb(111, 69, 200)
HSLhsl(259, 54%, 53%)
HSVhsv(259, 66%, 78%)
CMYKcmyk(44.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(40.91, 47.62, -62.04)
CIE-LCHlch(40.91, 78.20, 307.51°)
OKLaboklab(51.12% 0.0756 -0.1774)
OKLCHoklch(51.12% 0.193 293.1)
XYZxyz(19.1061, 11.8053, 55.9044)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45C8 #9EC845
analogous
#455CC8 #6F45C8 #B145C8
triadic
#6F45C8 #C86F45 #45C86F
tetradic
#6F45C8 #C8455C #9EC845 #45C8B1
square
#6F45C8 #C8455C #9EC845 #45C8B1
split-complementary
#6F45C8 #C8B145 #5CC845
monochromatic
#3B2171 #542FA0 #6F45C8 #9474D6 #B8A3E4

Accessibility & contrast

On white

6.25
#6F45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6F45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45C8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45C8#FFFFFF#000000##FFFFFF
##6F45C81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#556480
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f45c8;
/* rgb */ color: rgb(111, 69, 200);
/* oklch */ color: oklch(51.1% 0.193 293.1);
Tailwind
colors: {
  custom: {
    50: '#9f7bda',
    500: '#6f45c8',
    950: '#000000',
  },
}
SCSS
$custom: #6f45c8;
$custom-light: #9f7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45c8",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 259.237,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.19281,
    "h": 293.1
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#6F45C8
secondary
#BFD198
accent
#DE4AAE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6F45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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