#6F2298#6F2298

#6F2298 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.183 H 310.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6F2298
RGBrgb(111, 34, 152)
HSLhsl(279, 63%, 36%)
HSVhsv(279, 78%, 60%)
CMYKcmyk(27%, 77.6%, 0%, 40.4%)
CIE-LABlab(31.33, 52.26, -49.03)
CIE-LCHlch(31.33, 71.66, 316.82°)
OKLaboklab(43.15% 0.1188 -0.139)
OKLCHoklch(43.15% 0.183 310.5)
XYZxyz(12.7940, 6.7909, 30.3365)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2298 #4B9822
analogous
#342298 #6F2298 #982286
triadic
#6F2298 #986F22 #22986F
tetradic
#6F2298 #983422 #4B9822 #228698
square
#6F2298 #983422 #4B9822 #228698
split-complementary
#6F2298 #869822 #229834
monochromatic
#260C34 #4A1766 #6F2298 #942DCA #AE5ADA

Accessibility & contrast

On white

8.91
#6F2298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6F2298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2298
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2298#FFFFFF#000000##FFFFFF
##6F22981.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#024B96
Tritanopia (blue-blind)
#693E5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2298;
/* rgb */ color: rgb(111, 34, 152);
/* oklch */ color: oklch(43.1% 0.183 310.5);
Tailwind
colors: {
  custom: {
    50: '#9d66b7',
    500: '#6f2298',
    950: '#000000',
  },
}
SCSS
$custom: #6f2298;
$custom-light: #9d66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2298",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 279.153,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.18285,
    "h": 310.5
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#6F2298
secondary
#7BBE57
accent
#E6417B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2298

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

Preview Lab → · Contrast checker → · Palette generator →

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