#6E1F9C#6E1F9C

#6E1F9C is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.189 H 309.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6E1F9C
RGBrgb(110, 31, 156)
HSLhsl(278, 67%, 37%)
HSVhsv(278, 80%, 61%)
CMYKcmyk(29.5%, 80.1%, 0%, 38.8%)
CIE-LABlab(31.10, 54.05, -51.84)
CIE-LCHlch(31.10, 74.89, 316.20°)
OKLaboklab(43.06% 0.1192 -0.1472)
OKLCHoklch(43.06% 0.189 309)
XYZxyz(12.9199, 6.6955, 32.0578)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F9C #4D9C1F
analogous
#301F9C #6E1F9C #9C1F8C
triadic
#6E1F9C #9C6E1F #1F9C6E
tetradic
#6E1F9C #9C301F #4D9C1F #1F8C9C
square
#6E1F9C #9C301F #4D9C1F #1F8C9C
split-complementary
#6E1F9C #8C9C1F #1F9C30
monochromatic
#260B36 #4A1569 #6E1F9C #9229CF #AC58DE

Accessibility & contrast

On white

8.98
#6E1F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6E1F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F9C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F9C#FFFFFF#000000##FFFFFF
##6E1F9C1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#673F5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1f9c;
/* rgb */ color: rgb(110, 31, 156);
/* oklch */ color: oklch(43.1% 0.189 309.0);
Tailwind
colors: {
  custom: {
    50: '#9d65ba',
    500: '#6e1f9c',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f9c;
$custom-light: #9d65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f9c",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 277.92,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.18941,
    "h": 309
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#6E1F9C
secondary
#7DC155
accent
#EA3E7D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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