#6F267A#6F267A

#6F267A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.149 H 322.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6F267A
RGBrgb(111, 38, 122)
HSLhsl(292, 53%, 31%)
HSVhsv(292, 69%, 48%)
CMYKcmyk(9%, 68.9%, 0%, 52.2%)
CIE-LABlab(29.84, 44.29, -32.79)
CIE-LCHlch(29.84, 55.11, 323.49°)
OKLaboklab(41.43% 0.1178 -0.0914)
OKLCHoklch(41.43% 0.149 322.2)
XYZxyz(10.7611, 6.1715, 19.0330)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F267A #317A26
analogous
#45267A #6F267A #7A265B
triadic
#6F267A #7A6F26 #267A6F
tetradic
#6F267A #7A4526 #317A26 #265B7A
square
#6F267A #7A4526 #317A26 #265B7A
split-complementary
#6F267A #5B7A26 #267A45
monochromatic
#1A091D #45174B #6F267A #9935A9 #B951C9

Accessibility & contrast

On white

9.40
#6F267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6F267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F267A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F267A#FFFFFF#000000##FFFFFF
##6F267A1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417C
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#70344D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f267a;
/* rgb */ color: rgb(111, 38, 122);
/* oklch */ color: oklch(41.4% 0.149 322.2);
Tailwind
colors: {
  custom: {
    50: '#9b67a1',
    500: '#6f267a',
    950: '#000000',
  },
}
SCSS
$custom: #6f267a;
$custom-light: #9b67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f267a",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 292.143,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.14911,
    "h": 322.2
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#6F267A
secondary
#5CAC50
accent
#DC4C5F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F267A

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

Preview Lab → · Contrast checker → · Palette generator →

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