#6B2492#6B2492

#6B2492 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.174 H 310.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6B2492
RGBrgb(107, 36, 146)
HSLhsl(279, 60%, 36%)
HSVhsv(279, 75%, 57%)
CMYKcmyk(26.7%, 75.3%, 0%, 42.7%)
CIE-LABlab(30.55, 49.35, -46.63)
CIE-LCHlch(30.55, 67.90, 316.62°)
OKLaboklab(42.33% 0.1125 -0.1321)
OKLCHoklch(42.33% 0.174 310.4)
XYZxyz(11.8816, 6.4631, 27.8102)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2492 #4B9224
analogous
#342492 #6B2492 #922482
triadic
#6B2492 #926B24 #24926B
tetradic
#6B2492 #923424 #4B9224 #248292
square
#6B2492 #923424 #4B9224 #248292
split-complementary
#6B2492 #829224 #249234
monochromatic
#230C30 #471861 #6B2492 #8F30C3 #AA5AD6

Accessibility & contrast

On white

9.16
#6B2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6B2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2492
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2492#FFFFFF#000000##FFFFFF
##6B24921.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#0C4990
Tritanopia (blue-blind)
#663D59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2492;
/* rgb */ color: rgb(107, 36, 146);
/* oklch */ color: oklch(42.3% 0.174 310.4);
Tailwind
colors: {
  custom: {
    50: '#9a66b3',
    500: '#6b2492',
    950: '#000000',
  },
}
SCSS
$custom: #6b2492;
$custom-light: #9a66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2492",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 278.727,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42334,
    "c": 0.17352,
    "h": 310.4
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#6B2492
secondary
#7ABB57
accent
#E4447D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2492

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

Preview Lab → · Contrast checker → · Palette generator →

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