#6D1FA5#6D1FA5

#6D1FA5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.7% C 0.198 H 305.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6D1FA5
RGBrgb(109, 31, 165)
HSLhsl(275, 68%, 38%)
HSVhsv(275, 81%, 65%)
CMYKcmyk(33.9%, 81.2%, 0%, 35.3%)
CIE-LABlab(31.69, 55.88, -56.35)
CIE-LCHlch(31.69, 79.36, 314.76°)
OKLaboklab(43.66% 0.1154 -0.1605)
OKLCHoklch(43.66% 0.198 305.7)
XYZxyz(13.5867, 6.9479, 36.2153)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1FA5 #57A51F
analogous
#2A1FA5 #6D1FA5 #A51F9A
triadic
#6D1FA5 #A56D1F #1FA56D
tetradic
#6D1FA5 #A52A1F #57A51F #1F9AA5
square
#6D1FA5 #A52A1F #57A51F #1F9AA5
split-complementary
#6D1FA5 #9AA51F #1FA52A
monochromatic
#290C3E #4B1571 #6D1FA5 #8F2AD7 #AA5EE1

Accessibility & contrast

On white

8.79
#6D1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D1FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1FA5
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1FA5#FFFFFF#000000##FFFFFF
##6D1FA51.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#634363
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d1fa5;
/* rgb */ color: rgb(109, 31, 165);
/* oklch */ color: oklch(43.7% 0.198 305.7);
Tailwind
colors: {
  custom: {
    50: '#9d65c1',
    500: '#6d1fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6d1fa5;
$custom-light: #9d65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1fa5",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 274.925,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.19771,
    "h": 305.7
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#6D1FA5
secondary
#87C55B
accent
#EB3D86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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