#6F279C#6F279C

#6F279C is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.181 H 308.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6F279C
RGBrgb(111, 39, 156)
HSLhsl(277, 60%, 38%)
HSVhsv(277, 75%, 61%)
CMYKcmyk(28.8%, 75%, 0%, 38.8%)
CIE-LABlab(32.33, 51.15, -49.85)
CIE-LCHlch(32.33, 71.42, 315.74°)
OKLaboklab(43.95% 0.1133 -0.1414)
OKLCHoklch(43.95% 0.181 308.7)
XYZxyz(13.2806, 7.2311, 32.1422)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F279C #549C27
analogous
#34279C #6F279C #9C278E
triadic
#6F279C #9C6F27 #279C6F
tetradic
#6F279C #9C3427 #549C27 #278E9C
square
#6F279C #9C3427 #549C27 #278E9C
split-complementary
#6F279C #8E9C27 #279C34
monochromatic
#290F3A #4C1B6B #6F279C #9234CC #AC65D8

Accessibility & contrast

On white

8.58
#6F279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6F279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F279C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F279C#FFFFFF#000000##FFFFFF
##6F279C1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#684360
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f279c;
/* rgb */ color: rgb(111, 39, 156);
/* oklch */ color: oklch(43.9% 0.181 308.7);
Tailwind
colors: {
  custom: {
    50: '#9d69ba',
    500: '#6f279c',
    950: '#000000',
  },
}
SCSS
$custom: #6f279c;
$custom-light: #9d69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f279c",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 276.923,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43949,
    "c": 0.18123,
    "h": 308.7
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#6F279C
secondary
#85BE61
accent
#E34582
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F279C

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

Preview Lab → · Contrast checker → · Palette generator →

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