#6F258B#6F258B

#6F258B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.167 H 315.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6F258B
RGBrgb(111, 37, 139)
HSLhsl(284, 58%, 35%)
HSVhsv(284, 73%, 55%)
CMYKcmyk(20.1%, 73.4%, 0%, 45.5%)
CIE-LABlab(30.80, 48.24, -41.88)
CIE-LCHlch(30.80, 63.89, 319.04°)
OKLaboklab(42.48% 0.1179 -0.118)
OKLCHoklch(42.48% 0.167 315)
XYZxyz(11.8766, 6.5671, 25.0631)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F258B #418B25
analogous
#3C258B #6F258B #8B2574
triadic
#6F258B #8B6F25 #258B6F
tetradic
#6F258B #8B3C25 #418B25 #25748B
square
#6F258B #8B3C25 #418B25 #25748B
split-complementary
#6F258B #748B25 #258B3C
monochromatic
#220B2A #48185B #6F258B #9632BB #B158D3

Accessibility & contrast

On white

9.08
#6F258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F258B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F258B#FFFFFF#000000##FFFFFF
##6F258B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f258b;
/* rgb */ color: rgb(111, 37, 139);
/* oklch */ color: oklch(42.5% 0.167 315.0);
Tailwind
colors: {
  custom: {
    50: '#9c67ad',
    500: '#6f258b',
    950: '#000000',
  },
}
SCSS
$custom: #6f258b;
$custom-light: #9c67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f258b",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 283.529,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42476,
    "c": 0.16681,
    "h": 315
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#6F258B
secondary
#70B755
accent
#E14771
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F258B

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

Preview Lab → · Contrast checker → · Palette generator →

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