#6D1FA8#6D1FA8

#6D1FA8 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.201 H 304.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6D1FA8
RGBrgb(109, 31, 168)
HSLhsl(274, 69%, 39%)
HSVhsv(274, 82%, 66%)
CMYKcmyk(35.1%, 81.5%, 0%, 34.1%)
CIE-LABlab(31.94, 56.56, -57.75)
CIE-LCHlch(31.94, 80.83, 314.40°)
OKLaboklab(43.92% 0.1145 -0.1646)
OKLCHoklch(43.92% 0.201 304.8)
XYZxyz(13.8629, 7.0584, 37.6703)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1FA8 #5AA81F
analogous
#291FA8 #6D1FA8 #A81F9F
triadic
#6D1FA8 #A86D1F #1FA86D
tetradic
#6D1FA8 #A8291F #5AA81F #1F9FA8
square
#6D1FA8 #A8291F #5AA81F #1F9FA8
split-complementary
#6D1FA8 #9FA81F #1FA829
monochromatic
#2A0C41 #4B1574 #6D1FA8 #8E2CD8 #AA60E2

Accessibility & contrast

On white

8.71
#6D1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6D1FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1FA8
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1FA8#FFFFFF#000000##FFFFFF
##6D1FA81.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#624465
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d1fa8;
/* rgb */ color: rgb(109, 31, 168);
/* oklch */ color: oklch(43.9% 0.201 304.8);
Tailwind
colors: {
  custom: {
    50: '#9d65c3',
    500: '#6d1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6d1fa8;
$custom-light: #9d65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1fa8",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 274.161,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.20056,
    "h": 304.8
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#6D1FA8
secondary
#8AC65D
accent
#EC3C88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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