#6F2F9E#6F2F9E

#6F2F9E is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.173 H 307.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6F2F9E
RGBrgb(111, 47, 158)
HSLhsl(275, 54%, 40%)
HSVhsv(275, 70%, 62%)
CMYKcmyk(29.7%, 70.3%, 0%, 38%)
CIE-LABlab(33.73, 48.06, -48.78)
CIE-LCHlch(33.73, 68.48, 314.57°)
OKLaboklab(45% 0.1047 -0.1383)
OKLCHoklch(45% 0.174 307.1)
XYZxyz(13.7423, 7.8813, 33.1384)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2F9E #5E9E2F
analogous
#382F9E #6F2F9E #9E2F95
triadic
#6F2F9E #9E6F2F #2F9E6F
tetradic
#6F2F9E #9E382F #5E9E2F #2F959E
square
#6F2F9E #9E382F #5E9E2F #2F959E
split-complementary
#6F2F9E #959E2F #2F9E38
monochromatic
#2D1340 #4E216F #6F2F9E #8F43C7 #AB72D5

Accessibility & contrast

On white

8.15
#6F2F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6F2F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2F9E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2F9E#FFFFFF#000000##FFFFFF
##6F2F9E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#0F509C
Tritanopia (blue-blind)
#674863
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2f9e;
/* rgb */ color: rgb(111, 47, 158);
/* oklch */ color: oklch(45.0% 0.173 307.1);
Tailwind
colors: {
  custom: {
    50: '#9c6dbb',
    500: '#6f2f9e',
    950: '#000000',
  },
}
SCSS
$custom: #6f2f9e;
$custom-light: #9c6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2f9e",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 274.595,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.1735,
    "h": 307.1
  },
  "luminance": 0.07881
}

Semantic roles & 50–950 ramp

primary
#6F2F9E
secondary
#8EBD6C
accent
#DE4A89
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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