#6F2097#6F2097

#6F2097 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.184 H 311.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6F2097
RGBrgb(111, 32, 151)
HSLhsl(280, 65%, 36%)
HSVhsv(280, 79%, 59%)
CMYKcmyk(26.5%, 78.8%, 0%, 40.8%)
CIE-LABlab(30.99, 52.79, -48.96)
CIE-LCHlch(30.99, 72.00, 317.15°)
OKLaboklab(42.89% 0.1208 -0.1388)
OKLCHoklch(42.89% 0.184 311)
XYZxyz(12.6569, 6.6472, 29.8885)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2097 #489720
analogous
#332097 #6F2097 #972083
triadic
#6F2097 #976F20 #20976F
tetradic
#6F2097 #973320 #489720 #208397
square
#6F2097 #973320 #489720 #208397
split-complementary
#6F2097 #839720 #209733
monochromatic
#250B32 #4A1564 #6F2097 #942BC9 #AF56DB

Accessibility & contrast

On white

9.02
#6F2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6F2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2097
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2097#FFFFFF#000000##FFFFFF
##6F20971.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#014A95
Tritanopia (blue-blind)
#6A3D5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f2097;
/* rgb */ color: rgb(111, 32, 151);
/* oklch */ color: oklch(42.9% 0.184 311.0);
Tailwind
colors: {
  custom: {
    50: '#9d65b6',
    500: '#6f2097',
    950: '#000000',
  },
}
SCSS
$custom: #6f2097;
$custom-light: #9d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2097",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 279.832,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.18398,
    "h": 311
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#6F2097
secondary
#78BF54
accent
#E84078
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2097

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

Preview Lab → · Contrast checker → · Palette generator →

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