#6F2695#6F2695

#6F2695 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.175 H 311.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6F2695
RGBrgb(111, 38, 149)
HSLhsl(279, 59%, 37%)
HSVhsv(279, 74%, 58%)
CMYKcmyk(25.5%, 74.5%, 0%, 41.6%)
CIE-LABlab(31.66, 50.00, -46.65)
CIE-LCHlch(31.66, 68.38, 316.98°)
OKLaboklab(43.31% 0.1155 -0.132)
OKLCHoklch(43.31% 0.175 311.2)
XYZxyz(12.6724, 6.9360, 29.0992)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2695 #4C9526
analogous
#372695 #6F2695 #952684
triadic
#6F2695 #956F26 #26956F
tetradic
#6F2695 #953726 #4C9526 #268495
square
#6F2695 #953726 #4C9526 #268495
split-complementary
#6F2695 #849526 #269537
monochromatic
#260D33 #4B1A64 #6F2695 #9332C6 #AD5FD6

Accessibility & contrast

On white

8.80
#6F2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6F2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2695
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2695#FFFFFF#000000##FFFFFF
##6F26951.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#134C93
Tritanopia (blue-blind)
#6A3F5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2695;
/* rgb */ color: rgb(111, 38, 149);
/* oklch */ color: oklch(43.3% 0.175 311.2);
Tailwind
colors: {
  custom: {
    50: '#9c68b5',
    500: '#6f2695',
    950: '#000000',
  },
}
SCSS
$custom: #6f2695;
$custom-light: #9c68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2695",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 279.459,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43313,
    "c": 0.17543,
    "h": 311.2
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#6F2695
secondary
#7CBB5B
accent
#E3457B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2695

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

Preview Lab → · Contrast checker → · Palette generator →

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