#6F2074#6F2074

#6F2074 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.152 H 325.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6F2074
RGBrgb(111, 32, 116)
HSLhsl(296, 57%, 29%)
HSVhsv(296, 72%, 45%)
CMYKcmyk(4.3%, 72.4%, 0%, 54.5%)
CIE-LABlab(28.57, 45.66, -31.00)
CIE-LCHlch(28.57, 55.19, 325.82°)
OKLaboklab(40.4% 0.1248 -0.0861)
OKLCHoklch(40.4% 0.152 325.4)
XYZxyz(10.2242, 5.6741, 17.0763)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2074 #257420
analogous
#452074 #6F2074 #74204F
triadic
#6F2074 #746F20 #20746F
tetradic
#6F2074 #744520 #257420 #204F74
square
#6F2074 #744520 #257420 #204F74
split-complementary
#6F2074 #4F7420 #207445
monochromatic
#170718 #411344 #6F2074 #9D2DA4 #C343CB

Accessibility & contrast

On white

9.84
#6F2074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6F2074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2074
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2074#FFFFFF#000000##FFFFFF
##6F20741.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D76
Deuteranopia (green-blind)
#314772
Tritanopia (blue-blind)
#722D47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f2074;
/* rgb */ color: rgb(111, 32, 116);
/* oklch */ color: oklch(40.4% 0.152 325.4);
Tailwind
colors: {
  custom: {
    50: '#9b639c',
    500: '#6f2074',
    950: '#000000',
  },
}
SCSS
$custom: #6f2074;
$custom-light: #9b639c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2074",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 296.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40404,
    "c": 0.15163,
    "h": 325.4
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#6F2074
secondary
#4EA848
accent
#E04851
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2074

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

Preview Lab → · Contrast checker → · Palette generator →

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