#6F2274#6F2274

#6F2274 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.149 H 325.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6F2274
RGBrgb(111, 34, 116)
HSLhsl(296, 55%, 29%)
HSVhsv(296, 71%, 45%)
CMYKcmyk(4.3%, 70.7%, 0%, 54.5%)
CIE-LABlab(28.86, 44.84, -30.54)
CIE-LCHlch(28.86, 54.26, 325.74°)
OKLaboklab(40.61% 0.1225 -0.0848)
OKLCHoklch(40.61% 0.149 325.3)
XYZxyz(10.2797, 5.7852, 17.0948)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2274 #277422
analogous
#462274 #6F2274 #742250
triadic
#6F2274 #746F22 #22746F
tetradic
#6F2274 #744622 #277422 #225074
square
#6F2274 #744622 #277422 #225074
split-complementary
#6F2274 #507422 #227446
monochromatic
#170718 #421445 #6F2274 #9C30A3 #C147C9

Accessibility & contrast

On white

9.74
#6F2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6F2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2274
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2274#FFFFFF#000000##FFFFFF
##6F22741.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103E76
Deuteranopia (green-blind)
#324772
Tritanopia (blue-blind)
#722F48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f2274;
/* rgb */ color: rgb(111, 34, 116);
/* oklch */ color: oklch(40.6% 0.149 325.3);
Tailwind
colors: {
  custom: {
    50: '#9b649c',
    500: '#6f2274',
    950: '#000000',
  },
}
SCSS
$custom: #6f2274;
$custom-light: #9b649c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2274",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 296.341,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.14902,
    "h": 325.3
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#6F2274
secondary
#50A74B
accent
#DE4A53
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2274

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

Preview Lab → · Contrast checker → · Palette generator →

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