#6B125D#6B125D

#6B125D is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.147 H 335.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#6B125D
RGBrgb(107, 18, 93)
HSLhsl(309, 71%, 25%)
HSVhsv(309, 83%, 42%)
CMYKcmyk(0%, 83.2%, 13.1%, 58%)
CIE-LABlab(24.79, 45.59, -22.13)
CIE-LCHlch(24.79, 50.68, 334.11°)
OKLaboklab(37.12% 0.1336 -0.0605)
OKLCHoklch(37.12% 0.147 335.7)
XYZxyz(8.2556, 4.3495, 10.7585)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B125D #126B20
analogous
#4D126B #6B125D #6B1231
triadic
#6B125D #5D6B12 #125D6B
tetradic
#6B125D #6B4D12 #126B20 #12316B
square
#6B125D #6B4D12 #126B20 #12316B
split-complementary
#6B125D #316B12 #126B4D
monochromatic
#1A0417 #37092F #6B125D #9F1B8B #D424B8

Accessibility & contrast

On white

11.23
#6B125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6B125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B125D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B125D#FFFFFF#000000##FFFFFF
##6B125D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325F
Deuteranopia (green-blind)
#343F5B
Tritanopia (blue-blind)
#711A37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b125d;
/* rgb */ color: rgb(107, 18, 93);
/* oklch */ color: oklch(37.1% 0.147 335.7);
Tailwind
colors: {
  custom: {
    50: '#995c8b',
    500: '#6b125d',
    950: '#000000',
  },
}
SCSS
$custom: #6b125d;
$custom-light: #995c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b125d",
  "rgb": {
    "r": 107,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 309.438,
    "s": 71.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3712,
    "c": 0.14667,
    "h": 335.7
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#6B125D
secondary
#36A247
accent
#EE563A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B125D

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

Preview Lab → · Contrast checker → · Palette generator →

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