#6F2CA1#6F2CA1

#6F2CA1 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.180 H 306.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6F2CA1
RGBrgb(111, 44, 161)
HSLhsl(274, 57%, 40%)
HSVhsv(274, 73%, 63%)
CMYKcmyk(31.1%, 72.7%, 0%, 36.9%)
CIE-LABlab(33.47, 50.14, -51.03)
CIE-LCHlch(33.47, 71.54, 314.49°)
OKLaboklab(44.87% 0.1075 -0.1449)
OKLCHoklch(44.87% 0.18 306.6)
XYZxyz(13.8879, 7.7542, 34.4764)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CA1 #5EA12C
analogous
#352CA1 #6F2CA1 #A12C98
triadic
#6F2CA1 #A16F2C #2CA16F
tetradic
#6F2CA1 #A1352C #5EA12C #2C98A1
square
#6F2CA1 #A1352C #5EA12C #2C98A1
split-complementary
#6F2CA1 #98A12C #2CA135
monochromatic
#2D1241 #4E1F71 #6F2CA1 #8F40CB #AB70D8

Accessibility & contrast

On white

8.23
#6F2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2CA1
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CA1#FFFFFF#000000##FFFFFF
##6F2CA11.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#664764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ca1;
/* rgb */ color: rgb(111, 44, 161);
/* oklch */ color: oklch(44.9% 0.180 306.6);
Tailwind
colors: {
  custom: {
    50: '#9d6bbe',
    500: '#6f2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ca1;
$custom-light: #9d6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ca1",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 274.359,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44874,
    "c": 0.18041,
    "h": 306.6
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#6F2CA1
secondary
#8EBF6A
accent
#E04789
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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