#6F229B#6F229B

#6F229B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.186 H 309.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6F229B
RGBrgb(111, 34, 155)
HSLhsl(278, 64%, 37%)
HSVhsv(278, 78%, 61%)
CMYKcmyk(28.4%, 78.1%, 0%, 39.2%)
CIE-LABlab(31.56, 52.91, -50.49)
CIE-LCHlch(31.56, 73.14, 316.34°)
OKLaboklab(43.38% 0.1182 -0.1433)
OKLCHoklch(43.38% 0.186 309.5)
XYZxyz(13.0428, 6.8904, 31.6469)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F229B #4E9B22
analogous
#33229B #6F229B #9B228B
triadic
#6F229B #9B6F22 #229B6F
tetradic
#6F229B #9B3322 #4E9B22 #228B9B
square
#6F229B #9B3322 #4E9B22 #228B9B
split-complementary
#6F229B #8B9B22 #229B33
monochromatic
#270C37 #4B1769 #6F229B #932DCD #AD5CDB

Accessibility & contrast

On white

8.83
#6F229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6F229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F229B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F229B#FFFFFF#000000##FFFFFF
##6F229B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#68405E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f229b;
/* rgb */ color: rgb(111, 34, 155);
/* oklch */ color: oklch(43.4% 0.186 309.5);
Tailwind
colors: {
  custom: {
    50: '#9d66b9',
    500: '#6f229b',
    950: '#000000',
  },
}
SCSS
$custom: #6f229b;
$custom-light: #9d66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f229b",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 278.182,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.18573,
    "h": 309.5
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#6F229B
secondary
#7EC059
accent
#E7417D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F229B

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

Preview Lab → · Contrast checker → · Palette generator →

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