#6B249B#6B249B

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

Color values

HEX#6B249B
RGBrgb(107, 36, 155)
HSLhsl(276, 62%, 37%)
HSVhsv(276, 77%, 61%)
CMYKcmyk(31%, 76.8%, 0%, 39.2%)
CIE-LABlab(31.24, 51.38, -51.03)
CIE-LCHlch(31.24, 72.42, 315.20°)
OKLaboklab(43.04% 0.1108 -0.145)
OKLCHoklch(43.04% 0.182 307.4)
XYZxyz(12.6094, 6.7543, 31.6434)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B249B #549B24
analogous
#2F249B #6B249B #9B2490
triadic
#6B249B #9B6B24 #249B6B
tetradic
#6B249B #9B2F24 #549B24 #24909B
square
#6B249B #9B2F24 #549B24 #24909B
split-complementary
#6B249B #909B24 #249B2F
monochromatic
#260D38 #491869 #6B249B #8D30CD #A95FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B249B#FFFFFF#000000##FFFFFF
##6B249B1.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)
#00479E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#63415E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b249b;
/* rgb */ color: rgb(107, 36, 155);
/* oklch */ color: oklch(43.0% 0.182 307.4);
Tailwind
colors: {
  custom: {
    50: '#9a67b9',
    500: '#6b249b',
    950: '#000000',
  },
}
SCSS
$custom: #6b249b;
$custom-light: #9a67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b249b",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 275.798,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.18248,
    "h": 307.4
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#6B249B
secondary
#84BF5C
accent
#E54284
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B249B

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

Preview Lab → · Contrast checker → · Palette generator →

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