#6F268C#6F268C

#6F268C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.167 H 314.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6F268C
RGBrgb(111, 38, 140)
HSLhsl(283, 57%, 35%)
HSVhsv(283, 73%, 55%)
CMYKcmyk(20.7%, 72.9%, 0%, 45.1%)
CIE-LABlab(31.02, 48.04, -42.15)
CIE-LCHlch(31.02, 63.90, 318.74°)
OKLaboklab(42.65% 0.1167 -0.1188)
OKLCHoklch(42.65% 0.167 314.5)
XYZxyz(11.9815, 6.6596, 25.4601)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F268C #438C26
analogous
#3C268C #6F268C #8C2676
triadic
#6F268C #8C6F26 #268C6F
tetradic
#6F268C #8C3C26 #438C26 #26768C
square
#6F268C #8C3C26 #438C26 #26768C
split-complementary
#6F268C #768C26 #268C3C
monochromatic
#230C2C #49195C #6F268C #9533BC #B05AD2

Accessibility & contrast

On white

9.01
#6F268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6F268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F268C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F268C#FFFFFF#000000##FFFFFF
##6F268C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#6C3B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f268c;
/* rgb */ color: rgb(111, 38, 140);
/* oklch */ color: oklch(42.7% 0.167 314.5);
Tailwind
colors: {
  custom: {
    50: '#9c67ae',
    500: '#6f268c',
    950: '#000000',
  },
}
SCSS
$custom: #6f268c;
$custom-light: #9c67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f268c",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 282.941,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.16655,
    "h": 314.5
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#6F268C
secondary
#72B757
accent
#E14773
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F268C

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

Preview Lab → · Contrast checker → · Palette generator →

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