#6B239F#6B239F

#6B239F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.188 H 306.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6B239F
RGBrgb(107, 35, 159)
HSLhsl(275, 64%, 38%)
HSVhsv(275, 78%, 62%)
CMYKcmyk(32.7%, 78%, 0%, 37.6%)
CIE-LABlab(31.42, 52.70, -53.17)
CIE-LCHlch(31.42, 74.86, 314.75°)
OKLaboklab(43.26% 0.1108 -0.1513)
OKLCHoklch(43.26% 0.188 306.2)
XYZxyz(12.9211, 6.8312, 33.4320)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B239F #579F23
analogous
#2D239F #6B239F #9F2395
triadic
#6B239F #9F6B23 #239F6B
tetradic
#6B239F #9F2D23 #579F23 #23959F
square
#6B239F #9F2D23 #579F23 #23959F
split-complementary
#6B239F #959F23 #239F2D
monochromatic
#270D3B #49186D #6B239F #8D2ED1 #A860DC

Accessibility & contrast

On white

8.87
#6B239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6B239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B239F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B239F#FFFFFF#000000##FFFFFF
##6B239F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b239f;
/* rgb */ color: rgb(107, 35, 159);
/* oklch */ color: oklch(43.3% 0.188 306.2);
Tailwind
colors: {
  custom: {
    50: '#9b66bc',
    500: '#6b239f',
    950: '#000000',
  },
}
SCSS
$custom: #6b239f;
$custom-light: #9b66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b239f",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 274.839,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.18752,
    "h": 306.2
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#6B239F
secondary
#87C15D
accent
#E74187
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B239F

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

Preview Lab → · Contrast checker → · Palette generator →

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