#6B1EA9#6B1EA9

#6B1EA9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.202 H 303.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6B1EA9
RGBrgb(107, 30, 169)
HSLhsl(273, 70%, 39%)
HSVhsv(273, 82%, 66%)
CMYKcmyk(36.7%, 82.2%, 0%, 33.7%)
CIE-LABlab(31.62, 56.81, -58.88)
CIE-LCHlch(31.62, 81.82, 313.98°)
OKLaboklab(43.66% 0.1121 -0.168)
OKLCHoklch(43.66% 0.202 303.7)
XYZxyz(13.6874, 6.9189, 38.1428)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1EA9 #5CA91E
analogous
#251EA9 #6B1EA9 #A91EA2
triadic
#6B1EA9 #A96B1E #1EA96B
tetradic
#6B1EA9 #A9251E #5CA91E #1EA2A9
square
#6B1EA9 #A9251E #5CA91E #1EA2A9
split-complementary
#6B1EA9 #A2A91E #1EA925
monochromatic
#290C41 #4A1575 #6B1EA9 #8C2BD9 #A85FE3

Accessibility & contrast

On white

8.81
#6B1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6B1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1EA9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1EA9#FFFFFF#000000##FFFFFF
##6B1EA91.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#5E4565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b1ea9;
/* rgb */ color: rgb(107, 30, 169);
/* oklch */ color: oklch(43.7% 0.202 303.7);
Tailwind
colors: {
  custom: {
    50: '#9c65c4',
    500: '#6b1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ea9;
$custom-light: #9c65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ea9",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 273.237,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43661,
    "c": 0.20197,
    "h": 303.7
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#6B1EA9
secondary
#8CC75C
accent
#ED3B8A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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