#6B267C#6B267C

#6B267C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.149 H 319.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#6B267C
RGBrgb(107, 38, 124)
HSLhsl(288, 53%, 32%)
HSVhsv(288, 69%, 49%)
CMYKcmyk(13.7%, 69.4%, 0%, 51.4%)
CIE-LABlab(29.33, 43.71, -34.90)
CIE-LCHlch(29.33, 55.94, 321.39°)
OKLaboklab(40.98% 0.1127 -0.0977)
OKLCHoklch(40.98% 0.149 319.1)
XYZxyz(10.3941, 5.9677, 19.6693)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B267C #377C26
analogous
#40267C #6B267C #7C2662
triadic
#6B267C #7C6B26 #267C6B
tetradic
#6B267C #7C4026 #377C26 #26627C
square
#6B267C #7C4026 #377C26 #26627C
split-complementary
#6B267C #627C26 #267C40
monochromatic
#1A091E #43184D #6B267C #9334AB #B252CA

Accessibility & contrast

On white

9.57
#6B267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6B267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B267C
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B267C#FFFFFF#000000##FFFFFF
##6B267C1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05417F
Deuteranopia (green-blind)
#2C477A
Tritanopia (blue-blind)
#6B364E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b267c;
/* rgb */ color: rgb(107, 38, 124);
/* oklch */ color: oklch(41.0% 0.149 319.1);
Tailwind
colors: {
  custom: {
    50: '#9866a2',
    500: '#6b267c',
    950: '#000000',
  },
}
SCSS
$custom: #6b267c;
$custom-light: #9866a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b267c",
  "rgb": {
    "r": 107,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 288.14,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40977,
    "c": 0.14912,
    "h": 319.1
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#6B267C
secondary
#62AE50
accent
#DC4B68
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B267C

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

Preview Lab → · Contrast checker → · Palette generator →

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