#2F113E#2F113E

#2F113E is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.9% C 0.086 H 312.5°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2F113E
RGBrgb(47, 17, 62)
HSLhsl(280, 57%, 15%)
HSVhsv(280, 73%, 24%)
CMYKcmyk(24.2%, 72.6%, 0%, 75.7%)
CIE-LABlab(11.64, 24.25, -22.50)
CIE-LCHlch(11.64, 33.08, 317.15°)
OKLaboklab(24.88% 0.0581 -0.0633)
OKLCHoklch(24.88% 0.086 312.5)
XYZxyz(2.2421, 1.3531, 4.6996)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F113E #203E11
analogous
#18113E #2F113E #3E1136
triadic
#2F113E #3E2F11 #113E2F
tetradic
#2F113E #3E1811 #203E11 #11363E
square
#2F113E #3E1811 #203E11 #11363E
split-complementary
#2F113E #363E11 #113E18
monochromatic
#120718 #120718 #2F113E #531E6E #782B9E

Accessibility & contrast

On white

16.53
#2F113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F113E
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F113E#FFFFFF#000000##FFFFFF
##2F113E1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#0E1F3D
Tritanopia (blue-blind)
#2D1A25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f113e;
/* rgb */ color: rgb(47, 17, 62);
/* oklch */ color: oklch(24.9% 0.086 312.5);
Tailwind
colors: {
  custom: {
    50: '#695173',
    500: '#2f113e',
    950: '#000000',
  },
}
SCSS
$custom: #2f113e;
$custom-light: #695173;
$custom-dark: #000000;
JSON
{
  "hex": "#2f113e",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 280,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24878,
    "c": 0.08593,
    "h": 312.5
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#2F113E
secondary
#4A7733
accent
#E0487A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F113E

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

Preview Lab → · Contrast checker → · Palette generator →

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