#6D1F9C#6D1F9C

#6D1F9C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.189 H 308.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6D1F9C
RGBrgb(109, 31, 156)
HSLhsl(277, 67%, 37%)
HSVhsv(277, 80%, 61%)
CMYKcmyk(30.1%, 80.1%, 0%, 38.8%)
CIE-LABlab(30.95, 53.88, -52.09)
CIE-LCHlch(30.95, 74.94, 315.97°)
OKLaboklab(42.92% 0.1178 -0.148)
OKLCHoklch(42.92% 0.189 308.5)
XYZxyz(12.7962, 6.6317, 32.0520)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F9C #4E9C1F
analogous
#2F1F9C #6D1F9C #9C1F8D
triadic
#6D1F9C #9C6D1F #1F9C6D
tetradic
#6D1F9C #9C2F1F #4E9C1F #1F8D9C
square
#6D1F9C #9C2F1F #4E9C1F #1F8D9C
split-complementary
#6D1F9C #8D9C1F #1F9C2F
monochromatic
#260B36 #491569 #6D1F9C #9129CF #AB58DE

Accessibility & contrast

On white

9.03
#6D1F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D1F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F9C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F9C#FFFFFF#000000##FFFFFF
##6D1F9C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#663F5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1f9c;
/* rgb */ color: rgb(109, 31, 156);
/* oklch */ color: oklch(42.9% 0.189 308.5);
Tailwind
colors: {
  custom: {
    50: '#9c65ba',
    500: '#6d1f9c',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f9c;
$custom-light: #9c65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f9c",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 277.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42921,
    "c": 0.18914,
    "h": 308.5
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#6D1F9C
secondary
#7EC155
accent
#EA3E7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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