#6F2CA5#6F2CA5

#6F2CA5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.185 H 305.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6F2CA5
RGBrgb(111, 44, 165)
HSLhsl(273, 58%, 41%)
HSVhsv(273, 73%, 65%)
CMYKcmyk(32.7%, 73.3%, 0%, 35.3%)
CIE-LABlab(33.77, 51.08, -52.95)
CIE-LCHlch(33.77, 73.57, 313.97°)
OKLaboklab(45.18% 0.1068 -0.1506)
OKLCHoklch(45.18% 0.185 305.3)
XYZxyz(14.2462, 7.8976, 36.3639)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CA5 #62A52C
analogous
#322CA5 #6F2CA5 #A52C9E
triadic
#6F2CA5 #A56F2C #2CA56F
tetradic
#6F2CA5 #A5322C #62A52C #2C9EA5
square
#6F2CA5 #A5322C #62A52C #2C9EA5
split-complementary
#6F2CA5 #9EA52C #2CA532
monochromatic
#2E1244 #4E1F75 #6F2CA5 #8F42CD #AB72D9

Accessibility & contrast

On white

8.14
#6F2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6F2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2CA5
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CA5#FFFFFF#000000##FFFFFF
##6F2CA51.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#654966
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ca5;
/* rgb */ color: rgb(111, 44, 165);
/* oklch */ color: oklch(45.2% 0.185 305.3);
Tailwind
colors: {
  custom: {
    50: '#9d6bc0',
    500: '#6f2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ca5;
$custom-light: #9d6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ca5",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 273.223,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.18458,
    "h": 305.3
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#6F2CA5
secondary
#92C16C
accent
#E1478C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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