#6F2098#6F2098

#6F2098 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.185 H 310.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6F2098
RGBrgb(111, 32, 152)
HSLhsl(280, 65%, 36%)
HSVhsv(280, 79%, 60%)
CMYKcmyk(27%, 78.9%, 0%, 40.4%)
CIE-LABlab(31.07, 53.00, -49.45)
CIE-LCHlch(31.07, 72.49, 316.99°)
OKLaboklab(42.97% 0.1206 -0.1402)
OKLCHoklch(42.97% 0.185 310.7)
XYZxyz(12.7385, 6.6798, 30.3180)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2098 #499820
analogous
#332098 #6F2098 #982085
triadic
#6F2098 #986F20 #20986F
tetradic
#6F2098 #983320 #499820 #208598
square
#6F2098 #983320 #499820 #208598
split-complementary
#6F2098 #859820 #209833
monochromatic
#250B33 #4A1565 #6F2098 #942BCB #AE57DC

Accessibility & contrast

On white

8.99
#6F2098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2098
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2098#FFFFFF#000000##FFFFFF
##6F20981.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2098;
/* rgb */ color: rgb(111, 32, 152);
/* oklch */ color: oklch(43.0% 0.185 310.7);
Tailwind
colors: {
  custom: {
    50: '#9d65b7',
    500: '#6f2098',
    950: '#000000',
  },
}
SCSS
$custom: #6f2098;
$custom-light: #9d65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2098",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 279.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.18493,
    "h": 310.7
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#6F2098
secondary
#79BF54
accent
#E84079
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2098

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

Preview Lab → · Contrast checker → · Palette generator →

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