#6F279D#6F279D

#6F279D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.182 H 308.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6F279D
RGBrgb(111, 39, 157)
HSLhsl(277, 60%, 38%)
HSVhsv(277, 75%, 62%)
CMYKcmyk(29.3%, 75.2%, 0%, 38.4%)
CIE-LABlab(32.40, 51.37, -50.33)
CIE-LCHlch(32.40, 71.92, 315.59°)
OKLaboklab(44.03% 0.1132 -0.1428)
OKLCHoklch(44.03% 0.182 308.4)
XYZxyz(13.3656, 7.2651, 32.5900)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F279D #559D27
analogous
#34279D #6F279D #9D2790
triadic
#6F279D #9D6F27 #279D6F
tetradic
#6F279D #9D3427 #559D27 #27909D
square
#6F279D #9D3427 #559D27 #27909D
split-complementary
#6F279D #909D27 #279D34
monochromatic
#2A0F3B #4C1B6C #6F279D #9135CD #AC66D9

Accessibility & contrast

On white

8.56
#6F279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F279D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F279D#FFFFFF#000000##FFFFFF
##6F279D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#684360
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f279d;
/* rgb */ color: rgb(111, 39, 157);
/* oklch */ color: oklch(44.0% 0.182 308.4);
Tailwind
colors: {
  custom: {
    50: '#9d69bb',
    500: '#6f279d',
    950: '#000000',
  },
}
SCSS
$custom: #6f279d;
$custom-light: #9d69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f279d",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 276.61,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44026,
    "c": 0.18222,
    "h": 308.4
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#6F279D
secondary
#86BF61
accent
#E34482
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F279D

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

Preview Lab → · Contrast checker → · Palette generator →

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