#6F45B7#6F45B7

#6F45B7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.172 H 296.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6F45B7
RGBrgb(111, 69, 183)
HSLhsl(262, 45%, 49%)
HSVhsv(262, 62%, 72%)
CMYKcmyk(39.3%, 62.3%, 0%, 28.2%)
CIE-LABlab(39.67, 43.01, -54.10)
CIE-LCHlch(39.67, 69.11, 308.48°)
OKLaboklab(49.84% 0.0772 -0.154)
OKLCHoklch(49.84% 0.172 296.6)
XYZxyz(17.2287, 11.0543, 46.0166)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45B7 #8DB745
analogous
#4554B7 #6F45B7 #A845B7
triadic
#6F45B7 #B76F45 #45B76F
tetradic
#6F45B7 #B74554 #8DB745 #45B7A8
square
#6F45B7 #B74554 #8DB745 #45B7A8
split-complementary
#6F45B7 #B7A845 #54B745
monochromatic
#39235E #54348B #6F45B7 #9170C9 #B39DDA

Accessibility & contrast

On white

6.54
#6F45B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6F45B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45B7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45B7#FFFFFF#000000##FFFFFF
##6F45B71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#055CB5
Tritanopia (blue-blind)
#5D5E77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6f45b7;
/* rgb */ color: rgb(111, 69, 183);
/* oklch */ color: oklch(49.8% 0.172 296.6);
Tailwind
colors: {
  custom: {
    50: '#9d7bcd',
    500: '#6f45b7',
    950: '#000000',
  },
}
SCSS
$custom: #6f45b7;
$custom-light: #9d7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45b7",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 262.105,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.17229,
    "h": 296.6
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#6F45B7
secondary
#B3C692
accent
#D553A5
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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