#6B239A#6B239A

#6B239A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.183 H 307.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6B239A
RGBrgb(107, 35, 154)
HSLhsl(276, 63%, 37%)
HSVhsv(276, 77%, 60%)
CMYKcmyk(30.5%, 77.3%, 0%, 39.6%)
CIE-LABlab(31.02, 51.56, -50.77)
CIE-LCHlch(31.02, 72.36, 315.44°)
OKLaboklab(42.86% 0.1119 -0.1442)
OKLCHoklch(42.86% 0.183 307.8)
XYZxyz(12.4959, 6.6611, 31.1930)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B239A #529A23
analogous
#30239A #6B239A #9A238D
triadic
#6B239A #9A6B23 #239A6B
tetradic
#6B239A #9A3023 #529A23 #238D9A
square
#6B239A #9A3023 #529A23 #238D9A
split-complementary
#6B239A #8D9A23 #239A30
monochromatic
#260C36 #481868 #6B239A #8E2ECC #A95DDA

Accessibility & contrast

On white

9.00
#6B239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6B239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B239A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B239A#FFFFFF#000000##FFFFFF
##6B239A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#63405D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b239a;
/* rgb */ color: rgb(107, 35, 154);
/* oklch */ color: oklch(42.9% 0.183 307.8);
Tailwind
colors: {
  custom: {
    50: '#9a66b9',
    500: '#6b239a',
    950: '#000000',
  },
}
SCSS
$custom: #6b239a;
$custom-light: #9a66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b239a",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 276.303,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.18257,
    "h": 307.8
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#6B239A
secondary
#82BF5A
accent
#E64283
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B239A

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

Preview Lab → · Contrast checker → · Palette generator →

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