#6B239D#6B239D

#6B239D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.186 H 306.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6B239D
RGBrgb(107, 35, 157)
HSLhsl(275, 64%, 38%)
HSVhsv(275, 78%, 62%)
CMYKcmyk(31.8%, 77.7%, 0%, 38.4%)
CIE-LABlab(31.26, 52.24, -52.21)
CIE-LCHlch(31.26, 73.86, 315.01°)
OKLaboklab(43.1% 0.1113 -0.1485)
OKLCHoklch(43.1% 0.186 306.8)
XYZxyz(12.7489, 6.7623, 32.5254)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B239D #559D23
analogous
#2E239D #6B239D #9D2392
triadic
#6B239D #9D6B23 #239D6B
tetradic
#6B239D #9D2E23 #559D23 #23929D
square
#6B239D #9D2E23 #559D23 #23929D
split-complementary
#6B239D #929D23 #239D2E
monochromatic
#270D39 #49186B #6B239D #8D2ECF #A85FDB

Accessibility & contrast

On white

8.93
#6B239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6B239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B239D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B239D#FFFFFF#000000##FFFFFF
##6B239D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#62425F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b239d;
/* rgb */ color: rgb(107, 35, 157);
/* oklch */ color: oklch(43.1% 0.186 306.8);
Tailwind
colors: {
  custom: {
    50: '#9a66bb',
    500: '#6b239d',
    950: '#000000',
  },
}
SCSS
$custom: #6b239d;
$custom-light: #9a66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b239d",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 275.41,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.431,
    "c": 0.18554,
    "h": 306.8
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#6B239D
secondary
#85C05C
accent
#E74185
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B239D

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

Preview Lab → · Contrast checker → · Palette generator →

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