#6F229E#6F229E

#6F229E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.189 H 308.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6F229E
RGBrgb(111, 34, 158)
HSLhsl(277, 65%, 38%)
HSVhsv(277, 78%, 62%)
CMYKcmyk(29.7%, 78.5%, 0%, 38%)
CIE-LABlab(31.79, 53.58, -51.93)
CIE-LCHlch(31.79, 74.62, 315.89°)
OKLaboklab(43.62% 0.1175 -0.1475)
OKLCHoklch(43.62% 0.189 308.5)
XYZxyz(13.2978, 6.9924, 32.9903)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F229E #519E22
analogous
#31229E #6F229E #9E228F
triadic
#6F229E #9E6F22 #229E6F
tetradic
#6F229E #9E3122 #519E22 #228F9E
square
#6F229E #9E3122 #519E22 #228F9E
split-complementary
#6F229E #8F9E22 #229E31
monochromatic
#280C39 #4C176C #6F229E #922DD0 #AC5EDC

Accessibility & contrast

On white

8.76
#6F229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6F229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F229E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F229E#FFFFFF#000000##FFFFFF
##6F229E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#684160
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f229e;
/* rgb */ color: rgb(111, 34, 158);
/* oklch */ color: oklch(43.6% 0.189 308.5);
Tailwind
colors: {
  custom: {
    50: '#9d66bb',
    500: '#6f229e',
    950: '#000000',
  },
}
SCSS
$custom: #6f229e;
$custom-light: #9d66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f229e",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 277.258,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.18861,
    "h": 308.5
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#6F229E
secondary
#82C15B
accent
#E84080
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F229E

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

Preview Lab → · Contrast checker → · Palette generator →

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