#6B249D#6B249D

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

Color values

HEX#6B249D
RGBrgb(107, 36, 157)
HSLhsl(275, 63%, 38%)
HSVhsv(275, 77%, 62%)
CMYKcmyk(31.8%, 77.1%, 0%, 38.4%)
CIE-LABlab(31.40, 51.84, -51.99)
CIE-LCHlch(31.40, 73.42, 314.92°)
OKLaboklab(43.2% 0.1104 -0.1478)
OKLCHoklch(43.2% 0.184 306.7)
XYZxyz(12.7788, 6.8220, 32.5353)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B249D #569D24
analogous
#2F249D #6B249D #9D2492
triadic
#6B249D #9D6B24 #249D6B
tetradic
#6B249D #9D2F24 #569D24 #24929D
square
#6B249D #9D2F24 #569D24 #24929D
split-complementary
#6B249D #929D24 #249D2F
monochromatic
#270D39 #49196B #6B249D #8D2FCF #A861DB

Accessibility & contrast

On white

8.88
#6B249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B249D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B249D#FFFFFF#000000##FFFFFF
##6B249D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b249d;
/* rgb */ color: rgb(107, 36, 157);
/* oklch */ color: oklch(43.2% 0.184 306.7);
Tailwind
colors: {
  custom: {
    50: '#9a67bb',
    500: '#6b249d',
    950: '#000000',
  },
}
SCSS
$custom: #6b249d;
$custom-light: #9a67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b249d",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 275.207,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43197,
    "c": 0.18448,
    "h": 306.7
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#6B249D
secondary
#86C05D
accent
#E64286
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B249D

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

Preview Lab → · Contrast checker → · Palette generator →

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