#6F45DC#6F45DC

#6F45DC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.216 H 289.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6F45DC
RGBrgb(111, 69, 220)
HSLhsl(257, 68%, 57%)
HSVhsv(257, 69%, 86%)
CMYKcmyk(49.5%, 68.6%, 0%, 13.7%)
CIE-LABlab(42.46, 53.12, -71.01)
CIE-LCHlch(42.46, 88.68, 306.80°)
OKLaboklab(52.72% 0.0727 -0.2038)
OKLCHoklch(52.72% 0.216 289.6)
XYZxyz(21.5982, 12.8021, 69.0293)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45DC #B2DC45
analogous
#4567DC #6F45DC #BB45DC
triadic
#6F45DC #DC6F45 #45DC6F
tetradic
#6F45DC #DC4567 #B2DC45 #45DCBB
square
#6F45DC #DC4567 #B2DC45 #45DCBB
split-complementary
#6F45DC #DCBB45 #67DC45
monochromatic
#3A1A8C #4F24C0 #6F45DC #9779E6 #BFACEF

Accessibility & contrast

On white

5.90
#6F45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6F45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45DC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45DC#FFFFFF#000000##FFFFFF
##6F45DC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#496C8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f45dc;
/* rgb */ color: rgb(111, 69, 220);
/* oklch */ color: oklch(52.7% 0.216 289.6);
Tailwind
colors: {
  custom: {
    50: '#a27ce8',
    500: '#6f45dc',
    950: '#000000',
  },
}
SCSS
$custom: #6f45dc;
$custom-light: #a27ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45dc",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 256.689,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.21633,
    "h": 289.6
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#6F45DC
secondary
#CCDDA0
accent
#EB3DBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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