#6B239C#6B239C

#6B239C is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.185 H 307.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6B239C
RGBrgb(107, 35, 156)
HSLhsl(276, 63%, 37%)
HSVhsv(276, 78%, 61%)
CMYKcmyk(31.4%, 77.6%, 0%, 38.8%)
CIE-LABlab(31.18, 52.01, -51.73)
CIE-LCHlch(31.18, 73.36, 315.15°)
OKLaboklab(43.02% 0.1115 -0.1471)
OKLCHoklch(43.02% 0.185 307.2)
XYZxyz(12.6639, 6.7283, 32.0776)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B239C #549C23
analogous
#2E239C #6B239C #9C2391
triadic
#6B239C #9C6B23 #239C6B
tetradic
#6B239C #9C2E23 #549C23 #23919C
square
#6B239C #9C2E23 #549C23 #23919C
split-complementary
#6B239C #919C23 #239C2E
monochromatic
#260D38 #49186A #6B239C #8D2ECE #A95EDB

Accessibility & contrast

On white

8.95
#6B239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6B239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B239C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B239C#FFFFFF#000000##FFFFFF
##6B239C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#63415F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b239c;
/* rgb */ color: rgb(107, 35, 156);
/* oklch */ color: oklch(43.0% 0.185 307.2);
Tailwind
colors: {
  custom: {
    50: '#9a66ba',
    500: '#6b239c',
    950: '#000000',
  },
}
SCSS
$custom: #6b239c;
$custom-light: #9a66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6b239c",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 275.702,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43019,
    "c": 0.18455,
    "h": 307.2
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#6B239C
secondary
#84C05B
accent
#E64184
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B239C

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

Preview Lab → · Contrast checker → · Palette generator →

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