#6F2E98#6F2E98

#6F2E98 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.168 H 309.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6F2E98
RGBrgb(111, 46, 152)
HSLhsl(277, 54%, 39%)
HSVhsv(277, 70%, 60%)
CMYKcmyk(27%, 69.7%, 0%, 40.4%)
CIE-LABlab(33.14, 47.12, -46.10)
CIE-LCHlch(33.14, 65.92, 315.63°)
OKLaboklab(44.43% 0.1066 -0.1304)
OKLCHoklch(44.43% 0.168 309.2)
XYZxyz(13.1989, 7.6007, 30.4715)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2E98 #57982E
analogous
#3A2E98 #6F2E98 #982E8C
triadic
#6F2E98 #986F2E #2E986F
tetradic
#6F2E98 #983A2E #57982E #2E8C98
square
#6F2E98 #983A2E #57982E #2E8C98
split-complementary
#6F2E98 #8C982E #2E983A
monochromatic
#2A123A #4D2069 #6F2E98 #913EC5 #AC6DD3

Accessibility & contrast

On white

8.33
#6F2E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6F2E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2E98
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2E98#FFFFFF#000000##FFFFFF
##6F2E981.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#69455F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2e98;
/* rgb */ color: rgb(111, 46, 152);
/* oklch */ color: oklch(44.4% 0.168 309.2);
Tailwind
colors: {
  custom: {
    50: '#9c6cb7',
    500: '#6f2e98',
    950: '#000000',
  },
}
SCSS
$custom: #6f2e98;
$custom-light: #9c6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2e98",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 276.792,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44433,
    "c": 0.16845,
    "h": 309.2
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#6F2E98
secondary
#88BA68
accent
#DD4B83
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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