#6F238E#6F238E

#6F238E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.172 H 314.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#6F238E
RGBrgb(111, 35, 142)
HSLhsl(283, 60%, 35%)
HSVhsv(283, 75%, 56%)
CMYKcmyk(21.8%, 75.4%, 0%, 44.3%)
CIE-LABlab(30.72, 49.70, -43.86)
CIE-LCHlch(30.72, 66.29, 318.57°)
OKLaboklab(42.49% 0.1196 -0.1238)
OKLCHoklch(42.49% 0.172 314)
XYZxyz(12.0382, 6.5350, 26.2132)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F238E #428E23
analogous
#3A238E #6F238E #8E2378
triadic
#6F238E #8E6F23 #238E6F
tetradic
#6F238E #8E3A23 #428E23 #23788E
square
#6F238E #8E3A23 #428E23 #23788E
split-complementary
#6F238E #788E23 #238E3A
monochromatic
#220B2C #49175D #6F238E #952FBF #B056D5

Accessibility & contrast

On white

9.10
#6F238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6F238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F238E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F238E#FFFFFF#000000##FFFFFF
##6F238E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#6C3B57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f238e;
/* rgb */ color: rgb(111, 35, 142);
/* oklch */ color: oklch(42.5% 0.172 314.0);
Tailwind
colors: {
  custom: {
    50: '#9c66b0',
    500: '#6f238e',
    950: '#000000',
  },
}
SCSS
$custom: #6f238e;
$custom-light: #9c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f238e",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 282.617,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.17211,
    "h": 314
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#6F238E
secondary
#71B953
accent
#E44472
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F238E

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

Preview Lab → · Contrast checker → · Palette generator →

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