#6B239B#6B239B

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

Color values

HEX#6B239B
RGBrgb(107, 35, 155)
HSLhsl(276, 63%, 37%)
HSVhsv(276, 77%, 61%)
CMYKcmyk(31%, 77.4%, 0%, 39.2%)
CIE-LABlab(31.10, 51.78, -51.25)
CIE-LCHlch(31.10, 72.86, 315.30°)
OKLaboklab(42.94% 0.1117 -0.1457)
OKLCHoklch(42.94% 0.184 307.5)
XYZxyz(12.5796, 6.6946, 31.6335)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B239B #539B23
analogous
#2F239B #6B239B #9B238F
triadic
#6B239B #9B6B23 #239B6B
tetradic
#6B239B #9B2F23 #539B23 #238F9B
square
#6B239B #9B2F23 #539B23 #238F9B
split-complementary
#6B239B #8F9B23 #239B2F
monochromatic
#260C37 #491869 #6B239B #8D2ECD #A95EDB

Accessibility & contrast

On white

8.98
#6B239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6B239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B239B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B239B#FFFFFF#000000##FFFFFF
##6B239B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b239b;
/* rgb */ color: rgb(107, 35, 155);
/* oklch */ color: oklch(42.9% 0.184 307.5);
Tailwind
colors: {
  custom: {
    50: '#9a66b9',
    500: '#6b239b',
    950: '#000000',
  },
}
SCSS
$custom: #6b239b;
$custom-light: #9a66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b239b",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 276,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.18356,
    "h": 307.5
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#6B239B
secondary
#83BF5A
accent
#E64283
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B239B

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

Preview Lab → · Contrast checker → · Palette generator →

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