#6A267C#6A267C

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

Color values

HEX#6A267C
RGBrgb(106, 38, 124)
HSLhsl(287, 53%, 32%)
HSVhsv(287, 69%, 49%)
CMYKcmyk(14.5%, 69.4%, 0%, 51.4%)
CIE-LABlab(29.17, 43.47, -35.16)
CIE-LCHlch(29.17, 55.91, 321.03°)
OKLaboklab(40.83% 0.1114 -0.0985)
OKLCHoklch(40.83% 0.149 318.5)
XYZxyz(10.2746, 5.9061, 19.6637)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A267C #387C26
analogous
#3F267C #6A267C #7C2663
triadic
#6A267C #7C6A26 #267C6A
tetradic
#6A267C #7C3F26 #387C26 #26637C
square
#6A267C #7C3F26 #387C26 #26637C
split-complementary
#6A267C #637C26 #267C3F
monochromatic
#1A091E #42184D #6A267C #9234AB #B152CA

Accessibility & contrast

On white

9.63
#6A267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A267C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A267C#FFFFFF#000000##FFFFFF
##6A267C1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407F
Deuteranopia (green-blind)
#2B477A
Tritanopia (blue-blind)
#6A364E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a267c;
/* rgb */ color: rgb(106, 38, 124);
/* oklch */ color: oklch(40.8% 0.149 318.5);
Tailwind
colors: {
  custom: {
    50: '#9766a2',
    500: '#6a267c',
    950: '#000000',
  },
}
SCSS
$custom: #6a267c;
$custom-light: #9766a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a267c",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 287.442,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40832,
    "c": 0.14867,
    "h": 318.5
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#6A267C
secondary
#63AE50
accent
#DC4B6A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A267C

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

Preview Lab → · Contrast checker → · Palette generator →

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