#6F279B#6F279B

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

Color values

HEX#6F279B
RGBrgb(111, 39, 155)
HSLhsl(277, 60%, 38%)
HSVhsv(277, 75%, 61%)
CMYKcmyk(28.4%, 74.8%, 0%, 39.2%)
CIE-LABlab(32.25, 50.92, -49.36)
CIE-LCHlch(32.25, 70.92, 315.89°)
OKLaboklab(43.87% 0.1135 -0.14)
OKLCHoklch(43.87% 0.18 309)
XYZxyz(13.1963, 7.1973, 31.6980)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F279B #539B27
analogous
#35279B #6F279B #9B278D
triadic
#6F279B #9B6F27 #279B6F
tetradic
#6F279B #9B3527 #539B27 #278D9B
square
#6F279B #9B3527 #539B27 #278D9B
split-complementary
#6F279B #8D9B27 #279B35
monochromatic
#290E39 #4C1B6A #6F279B #9233CC #AC64D8

Accessibility & contrast

On white

8.61
#6F279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6F279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F279B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F279B#FFFFFF#000000##FFFFFF
##6F279B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#044D99
Tritanopia (blue-blind)
#68425F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f279b;
/* rgb */ color: rgb(111, 39, 155);
/* oklch */ color: oklch(43.9% 0.180 309.0);
Tailwind
colors: {
  custom: {
    50: '#9d69b9',
    500: '#6f279b',
    950: '#000000',
  },
}
SCSS
$custom: #6f279b;
$custom-light: #9d69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f279b",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 277.241,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.18023,
    "h": 309
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#6F279B
secondary
#84BE60
accent
#E34581
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F279B

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

Preview Lab → · Contrast checker → · Palette generator →

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