#6F1874#6F1874

#6F1874 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.161 H 325.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6F1874
RGBrgb(111, 24, 116)
HSLhsl(297, 66%, 27%)
HSVhsv(297, 79%, 45%)
CMYKcmyk(4.3%, 79.3%, 0%, 54.5%)
CIE-LABlab(27.56, 48.56, -32.62)
CIE-LCHlch(27.56, 58.50, 326.11°)
OKLaboklab(39.68% 0.1329 -0.0908)
OKLCHoklch(39.68% 0.161 325.6)
XYZxyz(10.0343, 5.2944, 17.0130)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1874 #1D7418
analogous
#411874 #6F1874 #74184B
triadic
#6F1874 #746F18 #18746F
tetradic
#6F1874 #744118 #1D7418 #184B74
square
#6F1874 #744118 #1D7418 #184B74
split-complementary
#6F1874 #4B7418 #187441
monochromatic
#180519 #3E0E41 #6F1874 #A022A7 #CC32D5

Accessibility & contrast

On white

10.20
#6F1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6F1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1874
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1874#FFFFFF#000000##FFFFFF
##6F18741.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#722945
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1874;
/* rgb */ color: rgb(111, 24, 116);
/* oklch */ color: oklch(39.7% 0.161 325.6);
Tailwind
colors: {
  custom: {
    50: '#9c609c',
    500: '#6f1874',
    950: '#000000',
  },
}
SCSS
$custom: #6f1874;
$custom-light: #9c609c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1874",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 296.739,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39677,
    "c": 0.16092,
    "h": 325.6
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#6F1874
secondary
#44A93F
accent
#E93F48
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1874

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

Preview Lab → · Contrast checker → · Palette generator →

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