#6F1262#6F1262

#6F1262 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.153 H 334.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#6F1262
RGBrgb(111, 18, 98)
HSLhsl(308, 72%, 25%)
HSVhsv(308, 84%, 44%)
CMYKcmyk(0%, 83.8%, 11.7%, 56.5%)
CIE-LABlab(25.85, 47.32, -23.70)
CIE-LCHlch(25.85, 52.93, 333.40°)
OKLaboklab(38.11% 0.1381 -0.0649)
OKLCHoklch(38.11% 0.153 334.8)
XYZxyz(8.9766, 4.6948, 11.9863)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1262 #126F1F
analogous
#4D126F #6F1262 #6F1233
triadic
#6F1262 #626F12 #12626F
tetradic
#6F1262 #6F4D12 #126F1F #12336F
square
#6F1262 #6F4D12 #126F1F #12336F
split-complementary
#6F1262 #336F12 #126F4D
monochromatic
#1A0417 #3A0934 #6F1262 #A41B90 #D823BF

Accessibility & contrast

On white

10.83
#6F1262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6F1262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1262
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1262#FFFFFF#000000##FFFFFF
##6F12621.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113564
Deuteranopia (green-blind)
#354260
Tritanopia (blue-blind)
#751B3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6f1262;
/* rgb */ color: rgb(111, 18, 98);
/* oklch */ color: oklch(38.1% 0.153 334.8);
Tailwind
colors: {
  custom: {
    50: '#9c5d8f',
    500: '#6f1262',
    950: '#000000',
  },
}
SCSS
$custom: #6f1262;
$custom-light: #9c5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1262",
  "rgb": {
    "r": 111,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 308.387,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38108,
    "c": 0.15262,
    "h": 334.8
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#6F1262
secondary
#37A646
accent
#EF5239
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #6F1262

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

Preview Lab → · Contrast checker → · Palette generator →

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