#6E1C98#6E1C98

#6E1C98 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.189 H 310.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6E1C98
RGBrgb(110, 28, 152)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 82%, 60%)
CMYKcmyk(27.6%, 81.6%, 0%, 40.4%)
CIE-LABlab(30.43, 54.22, -50.49)
CIE-LCHlch(30.43, 74.09, 317.04°)
OKLaboklab(42.49% 0.1225 -0.1433)
OKLCHoklch(42.49% 0.189 310.5)
XYZxyz(12.5120, 6.4128, 30.2784)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C98 #46981C
analogous
#301C98 #6E1C98 #981C84
triadic
#6E1C98 #986E1C #1C986E
tetradic
#6E1C98 #98301C #46981C #1C8498
square
#6E1C98 #98301C #46981C #1C8498
split-complementary
#6E1C98 #84981C #1C9830
monochromatic
#230931 #491264 #6E1C98 #9326CC #AE50DF

Accessibility & contrast

On white

9.20
#6E1C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E1C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C98
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C98#FFFFFF#000000##FFFFFF
##6E1C981.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#683C5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1c98;
/* rgb */ color: rgb(110, 28, 152);
/* oklch */ color: oklch(42.5% 0.189 310.5);
Tailwind
colors: {
  custom: {
    50: '#9c63b7',
    500: '#6e1c98',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c98;
$custom-light: #9c63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c98",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 279.677,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.18851,
    "h": 310.5
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#6E1C98
secondary
#75C14E
accent
#EC3C78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1C98

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

Preview Lab → · Contrast checker → · Palette generator →

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