#6F45BE#6F45BE

#6F45BE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.181 H 295.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6F45BE
RGBrgb(111, 69, 190)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 64%, 75%)
CMYKcmyk(41.6%, 63.7%, 0%, 25.5%)
CIE-LABlab(40.17, 44.89, -57.41)
CIE-LCHlch(40.17, 72.88, 308.03°)
OKLaboklab(50.36% 0.0766 -0.1638)
OKLCHoklch(50.36% 0.181 295.1)
XYZxyz(17.9755, 11.3530, 49.9495)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45BE #94BE45
analogous
#4557BE #6F45BE #AB45BE
triadic
#6F45BE #BE6F45 #45BE6F
tetradic
#6F45BE #BE4557 #94BE45 #45BEAB
square
#6F45BE #BE4557 #94BE45 #45BEAB
split-complementary
#6F45BE #BEAB45 #57BE45
monochromatic
#3A2365 #543393 #6F45BE #9272CE #B5A0DE

Accessibility & contrast

On white

6.42
#6F45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6F45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45BE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45BE#FFFFFF#000000##FFFFFF
##6F45BE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#5A617B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f45be;
/* rgb */ color: rgb(111, 69, 190);
/* oklch */ color: oklch(50.4% 0.181 295.1);
Tailwind
colors: {
  custom: {
    50: '#9e7bd2',
    500: '#6f45be',
    950: '#000000',
  },
}
SCSS
$custom: #6f45be;
$custom-light: #9e7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45be",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 260.826,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.18079,
    "h": 295.1
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#6F45BE
secondary
#B8CA95
accent
#D850A9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6F45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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