#6F2A99#6F2A99

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

Color values

HEX#6F2A99
RGBrgb(111, 42, 153)
HSLhsl(277, 57%, 38%)
HSVhsv(277, 73%, 60%)
CMYKcmyk(27.5%, 72.5%, 0%, 40%)
CIE-LABlab(32.56, 49.18, -47.64)
CIE-LCHlch(32.56, 68.47, 315.91°)
OKLaboklab(44.04% 0.1108 -0.135)
OKLCHoklch(44.04% 0.175 309.4)
XYZxyz(13.1321, 7.3356, 30.8549)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2A99 #54992A
analogous
#372A99 #6F2A99 #992A8B
triadic
#6F2A99 #996F2A #2A996F
tetradic
#6F2A99 #99372A #54992A #2A8B99
square
#6F2A99 #99372A #54992A #2A8B99
split-complementary
#6F2A99 #8B992A #2A9937
monochromatic
#291039 #4C1D69 #6F2A99 #9238C8 #AC68D6

Accessibility & contrast

On white

8.51
#6F2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F2A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2A99
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2A99#FFFFFF#000000##FFFFFF
##6F2A991.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#114E97
Tritanopia (blue-blind)
#69435F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2a99;
/* rgb */ color: rgb(111, 42, 153);
/* oklch */ color: oklch(44.0% 0.175 309.4);
Tailwind
colors: {
  custom: {
    50: '#9c6ab8',
    500: '#6f2a99',
    950: '#000000',
  },
}
SCSS
$custom: #6f2a99;
$custom-light: #9c6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2a99",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 277.297,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.17462,
    "h": 309.4
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#6F2A99
secondary
#85BC63
accent
#E04881
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #6F2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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