#2F113C#2F113C

#2F113C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.083 H 314.2°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#2F113C
RGBrgb(47, 17, 60)
HSLhsl(282, 56%, 15%)
HSVhsv(282, 72%, 24%)
CMYKcmyk(21.7%, 71.7%, 0%, 76.5%)
CIE-LABlab(11.49, 23.73, -21.31)
CIE-LCHlch(11.49, 31.89, 318.08°)
OKLaboklab(24.72% 0.0582 -0.0598)
OKLCHoklch(24.72% 0.083 314.2)
XYZxyz(2.1882, 1.3315, 4.4158)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F113C #1E3C11
analogous
#19113C #2F113C #3C1134
triadic
#2F113C #3C2F11 #113C2F
tetradic
#2F113C #3C1911 #1E3C11 #11343C
square
#2F113C #3C1911 #1E3C11 #11343C
split-complementary
#2F113C #343C11 #113C19
monochromatic
#130718 #130718 #2F113C #541F6C #7A2C9B

Accessibility & contrast

On white

16.59
#2F113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F113C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F113C
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F113C#FFFFFF#000000##FFFFFF
##2F113C1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3D
Deuteranopia (green-blind)
#0F1F3B
Tritanopia (blue-blind)
#2E1924
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f113c;
/* rgb */ color: rgb(47, 17, 60);
/* oklch */ color: oklch(24.7% 0.083 314.2);
Tailwind
colors: {
  custom: {
    50: '#695172',
    500: '#2f113c',
    950: '#000000',
  },
}
SCSS
$custom: #2f113c;
$custom-light: #695172;
$custom-dark: #000000;
JSON
{
  "hex": "#2f113c",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 281.86,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24724,
    "c": 0.08343,
    "h": 314.2
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#2F113C
secondary
#477533
accent
#DF4976
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F113C

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

Preview Lab → · Contrast checker → · Palette generator →

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