#6F238C#6F238C

#6F238C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.170 H 314.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6F238C
RGBrgb(111, 35, 140)
HSLhsl(283, 60%, 34%)
HSVhsv(283, 75%, 55%)
CMYKcmyk(20.7%, 75%, 0%, 45.1%)
CIE-LABlab(30.58, 49.28, -42.85)
CIE-LCHlch(30.58, 65.30, 318.99°)
OKLaboklab(42.34% 0.1199 -0.1208)
OKLCHoklch(42.34% 0.17 314.8)
XYZxyz(11.8894, 6.4754, 25.4295)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F238C #408C23
analogous
#3B238C #6F238C #8C2375
triadic
#6F238C #8C6F23 #238C6F
tetradic
#6F238C #8C3B23 #408C23 #23758C
square
#6F238C #8C3B23 #408C23 #23758C
split-complementary
#6F238C #758C23 #238C3B
monochromatic
#210B2A #48175B #6F238C #962FBD #B155D4

Accessibility & contrast

On white

9.15
#6F238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F238C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F238C#FFFFFF#000000##FFFFFF
##6F238C1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#6C3A56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f238c;
/* rgb */ color: rgb(111, 35, 140);
/* oklch */ color: oklch(42.3% 0.170 314.8);
Tailwind
colors: {
  custom: {
    50: '#9c66ae',
    500: '#6f238c',
    950: '#000000',
  },
}
SCSS
$custom: #6f238c;
$custom-light: #9c66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f238c",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 283.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.1702,
    "h": 314.8
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#6F238C
secondary
#6FB852
accent
#E34570
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F238C

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

Preview Lab → · Contrast checker → · Palette generator →

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