#6F1E98#6F1E98

#6F1E98 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 310.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6F1E98
RGBrgb(111, 30, 152)
HSLhsl(280, 67%, 36%)
HSVhsv(280, 80%, 60%)
CMYKcmyk(27%, 80.3%, 0%, 40.4%)
CIE-LABlab(30.82, 53.71, -49.85)
CIE-LCHlch(30.82, 73.28, 317.14°)
OKLaboklab(42.79% 0.1223 -0.1414)
OKLCHoklch(42.79% 0.187 310.9)
XYZxyz(12.6862, 6.5754, 30.3006)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1E98 #47981E
analogous
#321E98 #6F1E98 #981E84
triadic
#6F1E98 #986F1E #1E986F
tetradic
#6F1E98 #98321E #47981E #1E8498
square
#6F1E98 #98321E #47981E #1E8498
split-complementary
#6F1E98 #84981E #1E9832
monochromatic
#240A32 #4A1465 #6F1E98 #9428CB #AF53DD

Accessibility & contrast

On white

9.07
#6F1E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6F1E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1E98
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1E98#FFFFFF#000000##FFFFFF
##6F1E981.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#693D5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1e98;
/* rgb */ color: rgb(111, 30, 152);
/* oklch */ color: oklch(42.8% 0.187 310.9);
Tailwind
colors: {
  custom: {
    50: '#9d64b7',
    500: '#6f1e98',
    950: '#000000',
  },
}
SCSS
$custom: #6f1e98;
$custom-light: #9d64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1e98",
  "rgb": {
    "r": 111,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 279.836,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.18692,
    "h": 310.9
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#6F1E98
secondary
#77C051
accent
#EA3E78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1E98

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

Preview Lab → · Contrast checker → · Palette generator →

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