#6F2895#6F2895

#6F2895 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.173 H 311.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6F2895
RGBrgb(111, 40, 149)
HSLhsl(279, 58%, 37%)
HSVhsv(279, 73%, 58%)
CMYKcmyk(25.5%, 73.2%, 0%, 41.6%)
CIE-LABlab(31.96, 49.15, -46.17)
CIE-LCHlch(31.96, 67.43, 316.79°)
OKLaboklab(43.53% 0.1135 -0.1306)
OKLCHoklch(43.53% 0.173 311)
XYZxyz(12.7381, 7.0673, 29.1210)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2895 #4E9528
analogous
#392895 #6F2895 #952884
triadic
#6F2895 #956F28 #28956F
tetradic
#6F2895 #953928 #4E9528 #288495
square
#6F2895 #953928 #4E9528 #288495
split-complementary
#6F2895 #849528 #289539
monochromatic
#270E35 #4B1B65 #6F2895 #9335C5 #AD62D5

Accessibility & contrast

On white

8.70
#6F2895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6F2895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2895
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2895#FFFFFF#000000##FFFFFF
##6F28951.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#164C93
Tritanopia (blue-blind)
#6A405C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f2895;
/* rgb */ color: rgb(111, 40, 149);
/* oklch */ color: oklch(43.5% 0.173 311.0);
Tailwind
colors: {
  custom: {
    50: '#9c69b5',
    500: '#6f2895',
    950: '#000000',
  },
}
SCSS
$custom: #6f2895;
$custom-light: #9c69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2895",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 279.083,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.17302,
    "h": 311
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#6F2895
secondary
#7EBB5E
accent
#E1477D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2895

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

Preview Lab → · Contrast checker → · Palette generator →

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