#6F258C#6F258C

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

Color values

HEX#6F258C
RGBrgb(111, 37, 140)
HSLhsl(283, 58%, 35%)
HSVhsv(283, 74%, 55%)
CMYKcmyk(20.7%, 73.6%, 0%, 45.1%)
CIE-LABlab(30.87, 48.46, -42.39)
CIE-LCHlch(30.87, 64.38, 318.82°)
OKLaboklab(42.55% 0.1178 -0.1195)
OKLCHoklch(42.55% 0.168 314.6)
XYZxyz(11.9500, 6.5965, 25.4496)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F258C #428C25
analogous
#3C258C #6F258C #8C2576
triadic
#6F258C #8C6F25 #258C6F
tetradic
#6F258C #8C3C25 #428C25 #25768C
square
#6F258C #8C3C25 #428C25 #25768C
split-complementary
#6F258C #768C25 #258C3C
monochromatic
#220B2B #49185C #6F258C #9532BC #B058D3

Accessibility & contrast

On white

9.05
#6F258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6F258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F258C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F258C#FFFFFF#000000##FFFFFF
##6F258C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#204A8A
Tritanopia (blue-blind)
#6C3B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f258c;
/* rgb */ color: rgb(111, 37, 140);
/* oklch */ color: oklch(42.5% 0.168 314.6);
Tailwind
colors: {
  custom: {
    50: '#9c67ae',
    500: '#6f258c',
    950: '#000000',
  },
}
SCSS
$custom: #6f258c;
$custom-light: #9c67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f258c",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 283.107,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.16779,
    "h": 314.6
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#6F258C
secondary
#71B855
accent
#E14672
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F258C

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

Preview Lab → · Contrast checker → · Palette generator →

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