#6F2D96#6F2D96

#6F2D96 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.168 H 310.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6F2D96
RGBrgb(111, 45, 150)
HSLhsl(278, 54%, 38%)
HSVhsv(278, 70%, 59%)
CMYKcmyk(26%, 70%, 0%, 41.2%)
CIE-LABlab(32.83, 47.13, -45.38)
CIE-LCHlch(32.83, 65.43, 316.09°)
OKLaboklab(44.17% 0.1079 -0.1283)
OKLCHoklch(44.17% 0.168 310.1)
XYZxyz(12.9979, 7.4586, 29.6032)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2D96 #54962D
analogous
#3A2D96 #6F2D96 #962D88
triadic
#6F2D96 #966F2D #2D966F
tetradic
#6F2D96 #963A2D #54962D #2D8896
square
#6F2D96 #963A2D #54962D #2D8896
split-complementary
#6F2D96 #88962D #2D963A
monochromatic
#291138 #4C1F67 #6F2D96 #923CC4 #AC6BD3

Accessibility & contrast

On white

8.43
#6F2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2D96
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2D96#FFFFFF#000000##FFFFFF
##6F2D961.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#1C4E94
Tritanopia (blue-blind)
#6A445E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2d96;
/* rgb */ color: rgb(111, 45, 150);
/* oklch */ color: oklch(44.2% 0.168 310.1);
Tailwind
colors: {
  custom: {
    50: '#9c6bb5',
    500: '#6f2d96',
    950: '#000000',
  },
}
SCSS
$custom: #6f2d96;
$custom-light: #9c6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2d96",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 277.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44167,
    "c": 0.16767,
    "h": 310.1
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#6F2D96
secondary
#85B965
accent
#DD4B81
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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