#2F1036#2F1036

#2F1036 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.078 H 319.9°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2F1036
RGBrgb(47, 16, 54)
HSLhsl(289, 54%, 14%)
HSVhsv(289, 70%, 21%)
CMYKcmyk(13%, 70.4%, 0%, 78.8%)
CIE-LABlab(10.86, 22.80, -18.01)
CIE-LCHlch(10.86, 29.06, 321.69°)
OKLaboklab(24.13% 0.0596 -0.0502)
OKLCHoklch(24.13% 0.078 319.9)
XYZxyz(2.0234, 1.2414, 3.6223)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1036 #173610
analogous
#1C1036 #2F1036 #36102A
triadic
#2F1036 #362F10 #10362F
tetradic
#2F1036 #361C10 #173610 #102A36
square
#2F1036 #361C10 #173610 #102A36
split-complementary
#2F1036 #2A3610 #10361C
monochromatic
#150718 #150718 #2F1036 #581E65 #812C94

Accessibility & contrast

On white

16.82
#2F1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F1036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1036
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1036#FFFFFF#000000##FFFFFF
##2F10361.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B37
Deuteranopia (green-blind)
#131E35
Tritanopia (blue-blind)
#2F1621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f1036;
/* rgb */ color: rgb(47, 16, 54);
/* oklch */ color: oklch(24.1% 0.078 319.9);
Tailwind
colors: {
  custom: {
    50: '#69506d',
    500: '#2f1036',
    950: '#000000',
  },
}
SCSS
$custom: #2f1036;
$custom-light: #69506d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1036",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 288.947,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24127,
    "c": 0.0779,
    "h": 319.9
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#2F1036
secondary
#3D7032
accent
#DE4A65
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F1036

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

Preview Lab → · Contrast checker → · Palette generator →

#2F1036 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva