#6F2D9C#6F2D9C

#6F2D9C is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.174 H 308.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6F2D9C
RGBrgb(111, 45, 156)
HSLhsl(276, 55%, 39%)
HSVhsv(276, 71%, 61%)
CMYKcmyk(28.8%, 71.2%, 0%, 38.8%)
CIE-LABlab(33.26, 48.52, -48.34)
CIE-LCHlch(33.26, 68.49, 315.10°)
OKLaboklab(44.61% 0.1072 -0.137)
OKLCHoklch(44.61% 0.174 308)
XYZxyz(13.4934, 7.6568, 32.2131)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2D9C #5A9C2D
analogous
#382D9C #6F2D9C #9C2D92
triadic
#6F2D9C #9C6F2D #2D9C6F
tetradic
#6F2D9C #9C382D #5A9C2D #2D929C
square
#6F2D9C #9C382D #5A9C2D #2D929C
split-complementary
#6F2D9C #929C2D #2D9C38
monochromatic
#2B123D #4D1F6D #6F2D9C #903FC8 #AB6ED5

Accessibility & contrast

On white

8.30
#6F2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6F2D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2D9C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2D9C#FFFFFF#000000##FFFFFF
##6F2D9C1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#104F9A
Tritanopia (blue-blind)
#684661
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2d9c;
/* rgb */ color: rgb(111, 45, 156);
/* oklch */ color: oklch(44.6% 0.174 308.0);
Tailwind
colors: {
  custom: {
    50: '#9c6cba',
    500: '#6f2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #6f2d9c;
$custom-light: #9c6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2d9c",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 275.676,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.17395,
    "h": 308
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#6F2D9C
secondary
#8ABC68
accent
#DF4986
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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