#6F2698#6F2698

#6F2698 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.178 H 310.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6F2698
RGBrgb(111, 38, 152)
HSLhsl(278, 60%, 37%)
HSVhsv(278, 75%, 60%)
CMYKcmyk(27%, 75%, 0%, 40.4%)
CIE-LABlab(31.88, 50.66, -48.13)
CIE-LCHlch(31.88, 69.88, 316.47°)
OKLaboklab(43.54% 0.115 -0.1364)
OKLCHoklch(43.54% 0.178 310.2)
XYZxyz(12.9150, 7.0330, 30.3768)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2698 #4F9826
analogous
#362698 #6F2698 #982688
triadic
#6F2698 #986F26 #26986F
tetradic
#6F2698 #983626 #4F9826 #268898
square
#6F2698 #983626 #4F9826 #268898
split-complementary
#6F2698 #889826 #269836
monochromatic
#270E36 #4B1A67 #6F2698 #9332C9 #AD61D7

Accessibility & contrast

On white

8.73
#6F2698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2698
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2698#FFFFFF#000000##FFFFFF
##6F26981.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#0B4C96
Tritanopia (blue-blind)
#69405D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f2698;
/* rgb */ color: rgb(111, 38, 152);
/* oklch */ color: oklch(43.5% 0.178 310.2);
Tailwind
colors: {
  custom: {
    50: '#9d68b7',
    500: '#6f2698',
    950: '#000000',
  },
}
SCSS
$custom: #6f2698;
$custom-light: #9d68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2698",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 278.421,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.1784,
    "h": 310.2
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#6F2698
secondary
#7FBD5D
accent
#E3457E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #6F2698

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

Preview Lab → · Contrast checker → · Palette generator →

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