#6B125E#6B125E

#6B125E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.147 H 335.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#6B125E
RGBrgb(107, 18, 94)
HSLhsl(309, 71%, 25%)
HSVhsv(309, 83%, 42%)
CMYKcmyk(0%, 83.2%, 12.1%, 58%)
CIE-LABlab(24.85, 45.75, -22.70)
CIE-LCHlch(24.85, 51.07, 333.61°)
OKLaboklab(37.18% 0.1337 -0.0621)
OKLCHoklch(37.18% 0.147 335.1)
XYZxyz(8.3002, 4.3673, 10.9933)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B125E #126B1F
analogous
#4C126B #6B125E #6B1232
triadic
#6B125E #5E6B12 #125E6B
tetradic
#6B125E #6B4C12 #126B1F #12326B
square
#6B125E #6B4C12 #126B1F #12326B
split-complementary
#6B125E #326B12 #126B4C
monochromatic
#1A0417 #370930 #6B125E #9F1B8C #D424BA

Accessibility & contrast

On white

11.21
#6B125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B125E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B125E#FFFFFF#000000##FFFFFF
##6B125E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123360
Deuteranopia (green-blind)
#33405C
Tritanopia (blue-blind)
#711A38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b125e;
/* rgb */ color: rgb(107, 18, 94);
/* oklch */ color: oklch(37.2% 0.147 335.1);
Tailwind
colors: {
  custom: {
    50: '#995c8c',
    500: '#6b125e',
    950: '#000000',
  },
}
SCSS
$custom: #6b125e;
$custom-light: #995c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b125e",
  "rgb": {
    "r": 107,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 308.764,
    "s": 71.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.37178,
    "c": 0.14741,
    "h": 335.1
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#6B125E
secondary
#36A246
accent
#EE543A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B125E

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

Preview Lab → · Contrast checker → · Palette generator →

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