#6F2F96#6F2F96

#6F2F96 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.165 H 309.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6F2F96
RGBrgb(111, 47, 150)
HSLhsl(277, 52%, 39%)
HSVhsv(277, 69%, 59%)
CMYKcmyk(26%, 68.7%, 0%, 41.2%)
CIE-LABlab(33.17, 46.19, -44.83)
CIE-LCHlch(33.17, 64.37, 315.85°)
OKLaboklab(44.41% 0.1056 -0.1267)
OKLCHoklch(44.41% 0.165 309.8)
XYZxyz(13.0760, 7.6148, 29.6292)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2F96 #56962F
analogous
#3C2F96 #6F2F96 #962F89
triadic
#6F2F96 #966F2F #2F966F
tetradic
#6F2F96 #963C2F #56962F #2F8996
square
#6F2F96 #963C2F #56962F #2F8996
split-complementary
#6F2F96 #89962F #2F963C
monochromatic
#2A1239 #4D2067 #6F2F96 #913FC3 #AC6ED2

Accessibility & contrast

On white

8.32
#6F2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6F2F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2F96
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2F96#FFFFFF#000000##FFFFFF
##6F2F961.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#6A455E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2f96;
/* rgb */ color: rgb(111, 47, 150);
/* oklch */ color: oklch(44.4% 0.165 309.8);
Tailwind
colors: {
  custom: {
    50: '#9c6cb5',
    500: '#6f2f96',
    950: '#000000',
  },
}
SCSS
$custom: #6f2f96;
$custom-light: #9c6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2f96",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 277.282,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.16499,
    "h": 309.8
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#6F2F96
secondary
#87B968
accent
#DC4C82
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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