#6F1275#6F1275

#6F1275 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.167 H 325.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#6F1275
RGBrgb(111, 18, 117)
HSLhsl(296, 73%, 26%)
HSVhsv(296, 85%, 46%)
CMYKcmyk(5.1%, 84.6%, 0%, 54.1%)
CIE-LABlab(27.01, 50.52, -34.14)
CIE-LCHlch(27.01, 60.97, 325.95°)
OKLaboklab(39.31% 0.1377 -0.0952)
OKLCHoklch(39.31% 0.167 325.3)
XYZxyz(9.9825, 5.0972, 17.2842)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1275 #187512
analogous
#3E1275 #6F1275 #75124A
triadic
#6F1275 #756F12 #12756F
tetradic
#6F1275 #753E12 #187512 #124A75
square
#6F1275 #753E12 #187512 #124A75
split-complementary
#6F1275 #4A7512 #12753E
monochromatic
#19041B #3D0A40 #6F1275 #A11AAA #D224DD

Accessibility & contrast

On white

10.40
#6F1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6F1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1275
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1275#FFFFFF#000000##FFFFFF
##6F12751.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#2A4473
Tritanopia (blue-blind)
#722645
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1275;
/* rgb */ color: rgb(111, 18, 117);
/* oklch */ color: oklch(39.3% 0.167 325.3);
Tailwind
colors: {
  custom: {
    50: '#9c5e9d',
    500: '#6f1275',
    950: '#000000',
  },
}
SCSS
$custom: #6f1275;
$custom-light: #9c5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1275",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 296.364,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3931,
    "c": 0.16739,
    "h": 325.3
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#6F1275
secondary
#3EAC37
accent
#F03843
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1275

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

Preview Lab → · Contrast checker → · Palette generator →

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