#6F248B#6F248B

#6F248B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.168 H 315.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6F248B
RGBrgb(111, 36, 139)
HSLhsl(284, 59%, 34%)
HSVhsv(284, 74%, 55%)
CMYKcmyk(20.1%, 74.1%, 0%, 45.5%)
CIE-LABlab(30.65, 48.66, -42.12)
CIE-LCHlch(30.65, 64.35, 319.12°)
OKLaboklab(42.37% 0.119 -0.1187)
OKLCHoklch(42.37% 0.168 315.1)
XYZxyz(11.8459, 6.5058, 25.0528)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F248B #408B24
analogous
#3B248B #6F248B #8B2474
triadic
#6F248B #8B6F24 #248B6F
tetradic
#6F248B #8B3B24 #408B24 #24748B
square
#6F248B #8B3B24 #408B24 #24748B
split-complementary
#6F248B #748B24 #248B3B
monochromatic
#210B2A #48175A #6F248B #9631BC #B156D3

Accessibility & contrast

On white

9.13
#6F248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6F248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F248B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F248B#FFFFFF#000000##FFFFFF
##6F248B1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#6D3A55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f248b;
/* rgb */ color: rgb(111, 36, 139);
/* oklch */ color: oklch(42.4% 0.168 315.1);
Tailwind
colors: {
  custom: {
    50: '#9c66ad',
    500: '#6f248b',
    950: '#000000',
  },
}
SCSS
$custom: #6f248b;
$custom-light: #9c66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f248b",
  "rgb": {
    "r": 111,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 283.689,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.16804,
    "h": 315.1
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#6F248B
secondary
#6FB753
accent
#E24670
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F248B

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

Preview Lab → · Contrast checker → · Palette generator →

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