#6F2DA1#6F2DA1

#6F2DA1 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.179 H 306.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6F2DA1
RGBrgb(111, 45, 161)
HSLhsl(274, 56%, 40%)
HSVhsv(274, 72%, 63%)
CMYKcmyk(31.1%, 72%, 0%, 36.9%)
CIE-LABlab(33.63, 49.69, -50.77)
CIE-LCHlch(33.63, 71.04, 314.38°)
OKLaboklab(44.99% 0.1064 -0.1442)
OKLCHoklch(44.99% 0.179 306.4)
XYZxyz(13.9256, 7.8296, 34.4890)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DA1 #5FA12D
analogous
#352DA1 #6F2DA1 #A12D99
triadic
#6F2DA1 #A16F2D #2DA16F
tetradic
#6F2DA1 #A1352D #5FA12D #2D99A1
square
#6F2DA1 #A1352D #5FA12D #2D99A1
split-complementary
#6F2DA1 #99A12D #2DA135
monochromatic
#2D1241 #4E2071 #6F2DA1 #8F41CA #AB71D7

Accessibility & contrast

On white

8.18
#6F2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2DA1
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DA1#FFFFFF#000000##FFFFFF
##6F2DA11.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2da1;
/* rgb */ color: rgb(111, 45, 161);
/* oklch */ color: oklch(45.0% 0.179 306.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cbe',
    500: '#6f2da1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2da1;
$custom-light: #9d6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2da1",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 274.138,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44988,
    "c": 0.1792,
    "h": 306.4
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#6F2DA1
secondary
#8FBF6B
accent
#E04889
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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