#6F267B#6F267B

#6F267B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.150 H 321.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6F267B
RGBrgb(111, 38, 123)
HSLhsl(292, 53%, 32%)
HSVhsv(292, 69%, 48%)
CMYKcmyk(9.8%, 69.1%, 0%, 51.8%)
CIE-LABlab(29.90, 44.49, -33.32)
CIE-LCHlch(29.90, 55.59, 323.17°)
OKLaboklab(41.5% 0.1178 -0.093)
OKLCHoklch(41.5% 0.15 321.7)
XYZxyz(10.8234, 6.1964, 19.3610)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F267B #327B26
analogous
#45267B #6F267B #7B265D
triadic
#6F267B #7B6F26 #267B6F
tetradic
#6F267B #7B4526 #327B26 #265D7B
square
#6F267B #7B4526 #327B26 #265D7B
split-complementary
#6F267B #5D7B26 #267B45
monochromatic
#1B091D #45184C #6F267B #9934AA #B952CA

Accessibility & contrast

On white

9.38
#6F267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6F267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F267B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F267B#FFFFFF#000000##FFFFFF
##6F267B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f267b;
/* rgb */ color: rgb(111, 38, 123);
/* oklch */ color: oklch(41.5% 0.150 321.7);
Tailwind
colors: {
  custom: {
    50: '#9b67a1',
    500: '#6f267b',
    950: '#000000',
  },
}
SCSS
$custom: #6f267b;
$custom-light: #9b67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f267b",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 291.529,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.15006,
    "h": 321.7
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#6F267B
secondary
#5DAD50
accent
#DC4C60
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F267B

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

Preview Lab → · Contrast checker → · Palette generator →

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