#6B1FA0#6B1FA0

#6B1FA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.192 H 306.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6B1FA0
RGBrgb(107, 31, 160)
HSLhsl(275, 68%, 37%)
HSVhsv(275, 81%, 63%)
CMYKcmyk(33.1%, 80.6%, 0%, 37.3%)
CIE-LABlab(30.98, 54.42, -54.49)
CIE-LCHlch(30.98, 77.01, 314.97°)
OKLaboklab(42.98% 0.1139 -0.1551)
OKLCHoklch(42.98% 0.192 306.3)
XYZxyz(12.8972, 6.6440, 33.8539)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1FA0 #54A01F
analogous
#2B1FA0 #6B1FA0 #A01F94
triadic
#6B1FA0 #A06B1F #1FA06B
tetradic
#6B1FA0 #A02B1F #54A01F #1F94A0
square
#6B1FA0 #A02B1F #54A01F #1F94A0
split-complementary
#6B1FA0 #94A01F #1FA02B
monochromatic
#260B39 #49156D #6B1FA0 #8D29D3 #A95ADF

Accessibility & contrast

On white

9.02
#6B1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1FA0
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1FA0#FFFFFF#000000##FFFFFF
##6B1FA01.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#614160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b1fa0;
/* rgb */ color: rgb(107, 31, 160);
/* oklch */ color: oklch(43.0% 0.192 306.3);
Tailwind
colors: {
  custom: {
    50: '#9b65bd',
    500: '#6b1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #6b1fa0;
$custom-light: #9b65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1fa0",
  "rgb": {
    "r": 107,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 275.349,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.19246,
    "h": 306.3
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#6B1FA0
secondary
#84C358
accent
#EA3D84
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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