#6F2CA4#6F2CA4

#6F2CA4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.184 H 305.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6F2CA4
RGBrgb(111, 44, 164)
HSLhsl(274, 58%, 41%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(32.3%, 73.2%, 0%, 35.7%)
CIE-LABlab(33.69, 50.84, -52.47)
CIE-LCHlch(33.69, 73.06, 314.09°)
OKLaboklab(45.11% 0.1069 -0.1492)
OKLCHoklch(45.11% 0.184 305.6)
XYZxyz(14.1556, 7.8613, 35.8864)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CA4 #61A42C
analogous
#332CA4 #6F2CA4 #A42C9D
triadic
#6F2CA4 #A46F2C #2CA46F
tetradic
#6F2CA4 #A4332C #61A42C #2C9DA4
square
#6F2CA4 #A4332C #61A42C #2C9DA4
split-complementary
#6F2CA4 #9DA42C #2CA433
monochromatic
#2E1243 #4E1F74 #6F2CA4 #8F41CC #AB71D9

Accessibility & contrast

On white

8.16
#6F2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2CA4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CA4#FFFFFF#000000##FFFFFF
##6F2CA41.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#654965
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ca4;
/* rgb */ color: rgb(111, 44, 164);
/* oklch */ color: oklch(45.1% 0.184 305.6);
Tailwind
colors: {
  custom: {
    50: '#9d6bc0',
    500: '#6f2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ca4;
$custom-light: #9d6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ca4",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 273.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45106,
    "c": 0.18353,
    "h": 305.6
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#6F2CA4
secondary
#91C06B
accent
#E1478B
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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