#6A267B#6A267B

#6A267B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 319.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6A267B
RGBrgb(106, 38, 123)
HSLhsl(288, 53%, 32%)
HSVhsv(288, 69%, 48%)
CMYKcmyk(13.8%, 69.1%, 0%, 51.8%)
CIE-LABlab(29.11, 43.26, -34.63)
CIE-LCHlch(29.11, 55.41, 321.32°)
OKLaboklab(40.77% 0.1114 -0.0969)
OKLCHoklch(40.77% 0.148 319)
XYZxyz(10.2117, 5.8809, 19.3323)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A267B #377B26
analogous
#40267B #6A267B #7B2662
triadic
#6A267B #7B6A26 #267B6A
tetradic
#6A267B #7B4026 #377B26 #26627B
square
#6A267B #7B4026 #377B26 #26627B
split-complementary
#6A267B #627B26 #267B40
monochromatic
#19091D #42184C #6A267B #9234AA #B252CA

Accessibility & contrast

On white

9.65
#6A267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6A267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A267B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A267B#FFFFFF#000000##FFFFFF
##6A267B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407E
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#6A354D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a267b;
/* rgb */ color: rgb(106, 38, 123);
/* oklch */ color: oklch(40.8% 0.148 319.0);
Tailwind
colors: {
  custom: {
    50: '#9766a2',
    500: '#6a267b',
    950: '#000000',
  },
}
SCSS
$custom: #6a267b;
$custom-light: #9766a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a267b",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 288,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.14767,
    "h": 319
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#6A267B
secondary
#62AD50
accent
#DC4C69
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A267B

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

Preview Lab → · Contrast checker → · Palette generator →

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