#6D238A#6D238A

#6D238A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.168 H 314.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#6D238A
RGBrgb(109, 35, 138)
HSLhsl(283, 60%, 34%)
HSVhsv(283, 75%, 54%)
CMYKcmyk(21%, 74.6%, 0%, 45.9%)
CIE-LABlab(30.13, 48.43, -42.36)
CIE-LCHlch(30.13, 64.34, 318.82°)
OKLaboklab(41.91% 0.1175 -0.1194)
OKLCHoklch(41.91% 0.168 314.5)
XYZxyz(11.4944, 6.2887, 24.6482)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D238A #408A23
analogous
#3A238A #6D238A #8A2374
triadic
#6D238A #8A6D23 #238A6D
tetradic
#6D238A #8A3A23 #408A23 #23748A
square
#6D238A #8A3A23 #408A23 #23748A
split-complementary
#6D238A #748A23 #238A3A
monochromatic
#200A28 #461759 #6D238A #942FBB #B054D4

Accessibility & contrast

On white

9.30
#6D238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6D238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D238A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D238A#FFFFFF#000000##FFFFFF
##6D238A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#6A3954
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d238a;
/* rgb */ color: rgb(109, 35, 138);
/* oklch */ color: oklch(41.9% 0.168 314.5);
Tailwind
colors: {
  custom: {
    50: '#9a66ad',
    500: '#6d238a',
    950: '#000000',
  },
}
SCSS
$custom: #6d238a;
$custom-light: #9a66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d238a",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 283.107,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41913,
    "c": 0.16753,
    "h": 314.5
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#6D238A
secondary
#6EB751
accent
#E34571
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D238A

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

Preview Lab → · Contrast checker → · Palette generator →

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