#6E248B#6E248B

#6E248B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.168 H 314.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6E248B
RGBrgb(110, 36, 139)
HSLhsl(283, 59%, 34%)
HSVhsv(283, 74%, 55%)
CMYKcmyk(20.9%, 74.1%, 0%, 45.5%)
CIE-LABlab(30.50, 48.44, -42.37)
CIE-LCHlch(30.50, 64.36, 318.82°)
OKLaboklab(42.23% 0.1176 -0.1195)
OKLCHoklch(42.23% 0.168 314.6)
XYZxyz(11.7207, 6.4412, 25.0470)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E248B #418B24
analogous
#3B248B #6E248B #8B2475
triadic
#6E248B #8B6E24 #248B6E
tetradic
#6E248B #8B3B24 #418B24 #24758B
square
#6E248B #8B3B24 #418B24 #24758B
split-complementary
#6E248B #758B24 #248B3B
monochromatic
#210B2A #48175A #6E248B #9431BC #B056D3

Accessibility & contrast

On white

9.18
#6E248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E248B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E248B#FFFFFF#000000##FFFFFF
##6E248B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#6B3A55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e248b;
/* rgb */ color: rgb(110, 36, 139);
/* oklch */ color: oklch(42.2% 0.168 314.6);
Tailwind
colors: {
  custom: {
    50: '#9b66ad',
    500: '#6e248b',
    950: '#000000',
  },
}
SCSS
$custom: #6e248b;
$custom-light: #9b66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e248b",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 283.107,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.16766,
    "h": 314.6
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#6E248B
secondary
#70B753
accent
#E24672
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E248B

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

Preview Lab → · Contrast checker → · Palette generator →

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