#6C239F#6C239F

#6C239F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.188 H 306.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6C239F
RGBrgb(108, 35, 159)
HSLhsl(275, 64%, 38%)
HSVhsv(275, 78%, 62%)
CMYKcmyk(32.1%, 78%, 0%, 37.6%)
CIE-LABlab(31.56, 52.88, -52.93)
CIE-LCHlch(31.56, 74.82, 314.97°)
OKLaboklab(43.39% 0.1122 -0.1505)
OKLCHoklch(43.39% 0.188 306.7)
XYZxyz(13.0420, 6.8936, 33.4377)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C239F #569F23
analogous
#2E239F #6C239F #9F2394
triadic
#6C239F #9F6C23 #239F6C
tetradic
#6C239F #9F2E23 #569F23 #23949F
square
#6C239F #9F2E23 #569F23 #23949F
split-complementary
#6C239F #949F23 #239F2E
monochromatic
#280D3B #4A186D #6C239F #8E2ED1 #A960DC

Accessibility & contrast

On white

8.83
#6C239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6C239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C239F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C239F#FFFFFF#000000##FFFFFF
##6C239F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#634260
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c239f;
/* rgb */ color: rgb(108, 35, 159);
/* oklch */ color: oklch(43.4% 0.188 306.7);
Tailwind
colors: {
  custom: {
    50: '#9b66bc',
    500: '#6c239f',
    950: '#000000',
  },
}
SCSS
$custom: #6c239f;
$custom-light: #9b66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c239f",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 275.323,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.18777,
    "h": 306.7
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#6C239F
secondary
#86C15D
accent
#E74185
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C239F

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

Preview Lab → · Contrast checker → · Palette generator →

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