#6F45D2#6F45D2

#6F45D2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.205 H 291.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6F45D2
RGBrgb(111, 69, 210)
HSLhsl(258, 61%, 55%)
HSVhsv(258, 67%, 82%)
CMYKcmyk(47.1%, 67.1%, 0%, 17.6%)
CIE-LABlab(41.67, 50.36, -66.57)
CIE-LCHlch(41.67, 83.47, 307.11°)
OKLaboklab(51.91% 0.0742 -0.1907)
OKLCHoklch(51.91% 0.205 291.3)
XYZxyz(20.3133, 12.2882, 62.2618)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45D2 #A8D245
analogous
#4562D2 #6F45D2 #B545D2
triadic
#6F45D2 #D26F45 #45D26F
tetradic
#6F45D2 #D24562 #A8D245 #45D2B5
square
#6F45D2 #D24562 #A8D245 #45D2B5
split-complementary
#6F45D2 #D2B545 #62D245
monochromatic
#3B1F7E #522AAF #6F45D2 #9576DE #BBA8EA

Accessibility & contrast

On white

6.07
#6F45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6F45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45D2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45D2#FFFFFF#000000##FFFFFF
##6F45D21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#506886
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f45d2;
/* rgb */ color: rgb(111, 69, 210);
/* oklch */ color: oklch(51.9% 0.205 291.3);
Tailwind
colors: {
  custom: {
    50: '#a07be1',
    500: '#6f45d2',
    950: '#000000',
  },
}
SCSS
$custom: #6f45d2;
$custom-light: #a07be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45d2",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 257.872,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.20465,
    "h": 291.3
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#6F45D2
secondary
#C5D79C
accent
#E444B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #6F45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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