#6F2A9C#6F2A9C

#6F2A9C is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.178 H 308.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6F2A9C
RGBrgb(111, 42, 156)
HSLhsl(276, 58%, 39%)
HSVhsv(276, 73%, 61%)
CMYKcmyk(28.8%, 73.1%, 0%, 38.8%)
CIE-LABlab(32.78, 49.86, -49.11)
CIE-LCHlch(32.78, 69.99, 315.43°)
OKLaboklab(44.27% 0.1103 -0.1393)
OKLCHoklch(44.27% 0.178 308.4)
XYZxyz(13.3830, 7.4360, 32.1763)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2A9C #579C2A
analogous
#362A9C #6F2A9C #9C2A90
triadic
#6F2A9C #9C6F2A #2A9C6F
tetradic
#6F2A9C #9C362A #579C2A #2A909C
square
#6F2A9C #9C362A #579C2A #2A909C
split-complementary
#6F2A9C #909C2A #2A9C36
monochromatic
#2A103C #4D1D6C #6F2A9C #9139CA #AC6AD7

Accessibility & contrast

On white

8.44
#6F2A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6F2A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2A9C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2A9C#FFFFFF#000000##FFFFFF
##6F2A9C1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#084E9A
Tritanopia (blue-blind)
#684460
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2a9c;
/* rgb */ color: rgb(111, 42, 156);
/* oklch */ color: oklch(44.3% 0.178 308.4);
Tailwind
colors: {
  custom: {
    50: '#9d6aba',
    500: '#6f2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #6f2a9c;
$custom-light: #9d6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2a9c",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 276.316,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44269,
    "c": 0.17768,
    "h": 308.4
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#6F2A9C
secondary
#88BD65
accent
#E14784
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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