#6F2DCA#6F2DCA

#6F2DCA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.222 H 295.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6F2DCA
RGBrgb(111, 45, 202)
HSLhsl(265, 64%, 48%)
HSVhsv(265, 78%, 79%)
CMYKcmyk(45%, 77.7%, 0%, 20.8%)
CIE-LABlab(36.97, 59.63, -69.63)
CIE-LCHlch(36.97, 91.67, 310.58°)
OKLaboklab(48.38% 0.097 -0.1995)
OKLCHoklch(48.38% 0.222 295.9)
XYZxyz(18.1517, 9.5201, 56.7469)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DCA #88CA2D
analogous
#2D39CA #6F2DCA #BD2DCA
triadic
#6F2DCA #CA6F2D #2DCA6F
tetradic
#6F2DCA #CA2D39 #88CA2D #2DCABD
square
#6F2DCA #CA2D39 #88CA2D #2DCABD
split-complementary
#6F2DCA #CABD2D #39CA2D
monochromatic
#381766 #532298 #6F2DCA #905ADA #B28CE5

Accessibility & contrast

On white

7.23
#6F2DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6F2DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2DCA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DCA#FFFFFF#000000##FFFFFF
##6F2DCA1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#56597B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f2dca;
/* rgb */ color: rgb(111, 45, 202);
/* oklch */ color: oklch(48.4% 0.222 295.9);
Tailwind
colors: {
  custom: {
    50: '#a16edb',
    500: '#6f2dca',
    950: '#000000',
  },
}
SCSS
$custom: #6f2dca;
$custom-light: #a16edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2dca",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 265.223,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.22186,
    "h": 295.9
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#6F2DCA
secondary
#AFCF83
accent
#E741A1
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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