#6F229F#6F229F

#6F229F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.190 H 308.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6F229F
RGBrgb(111, 34, 159)
HSLhsl(277, 65%, 38%)
HSVhsv(277, 79%, 62%)
CMYKcmyk(30.2%, 78.6%, 0%, 37.6%)
CIE-LABlab(31.87, 53.80, -52.41)
CIE-LCHlch(31.87, 75.11, 315.75°)
OKLaboklab(43.7% 0.1173 -0.1489)
OKLCHoklch(43.7% 0.19 308.2)
XYZxyz(13.3843, 7.0270, 33.4454)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F229F #529F22
analogous
#30229F #6F229F #9F2290
triadic
#6F229F #9F6F22 #229F6F
tetradic
#6F229F #9F3022 #529F22 #22909F
square
#6F229F #9F3022 #529F22 #22909F
split-complementary
#6F229F #909F22 #229F30
monochromatic
#290C3A #4C176D #6F229F #922DD1 #AC5FDD

Accessibility & contrast

On white

8.73
#6F229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6F229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F229F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F229F#FFFFFF#000000##FFFFFF
##6F229F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#674160
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f229f;
/* rgb */ color: rgb(111, 34, 159);
/* oklch */ color: oklch(43.7% 0.190 308.2);
Tailwind
colors: {
  custom: {
    50: '#9d66bc',
    500: '#6f229f',
    950: '#000000',
  },
}
SCSS
$custom: #6f229f;
$custom-light: #9d66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f229f",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 276.96,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.18958,
    "h": 308.2
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F229F

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

Preview Lab → · Contrast checker → · Palette generator →

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