#6B239E#6B239E

#6B239E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.187 H 306.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6B239E
RGBrgb(107, 35, 158)
HSLhsl(275, 64%, 38%)
HSVhsv(275, 78%, 62%)
CMYKcmyk(32.3%, 77.8%, 0%, 38%)
CIE-LABlab(31.34, 52.47, -52.69)
CIE-LCHlch(31.34, 74.36, 314.88°)
OKLaboklab(43.18% 0.111 -0.1499)
OKLCHoklch(43.18% 0.187 306.5)
XYZxyz(12.8346, 6.7966, 32.9769)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B239E #569E23
analogous
#2D239E #6B239E #9E2393
triadic
#6B239E #9E6B23 #239E6B
tetradic
#6B239E #9E2D23 #569E23 #23939E
square
#6B239E #9E2D23 #569E23 #23939E
split-complementary
#6B239E #939E23 #239E2D
monochromatic
#270D3A #49186C #6B239E #8D2ED0 #A860DC

Accessibility & contrast

On white

8.90
#6B239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6B239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B239E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B239E#FFFFFF#000000##FFFFFF
##6B239E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b239e;
/* rgb */ color: rgb(107, 35, 158);
/* oklch */ color: oklch(43.2% 0.187 306.5);
Tailwind
colors: {
  custom: {
    50: '#9a66bb',
    500: '#6b239e',
    950: '#000000',
  },
}
SCSS
$custom: #6b239e;
$custom-light: #9a66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b239e",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 275.122,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43181,
    "c": 0.18653,
    "h": 306.5
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#6B239E
secondary
#86C15C
accent
#E74186
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B239E

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

Preview Lab → · Contrast checker → · Palette generator →

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