#2F103D#2F103D

#2F103D is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.086 H 313.6°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#2F103D
RGBrgb(47, 16, 61)
HSLhsl(281, 58%, 15%)
HSVhsv(281, 74%, 24%)
CMYKcmyk(23%, 73.8%, 0%, 76.1%)
CIE-LABlab(11.36, 24.56, -22.24)
CIE-LCHlch(11.36, 33.14, 317.84°)
OKLaboklab(24.65% 0.0596 -0.0625)
OKLCHoklch(24.65% 0.086 313.6)
XYZxyz(2.1997, 1.3119, 4.5513)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F103D #1E3D10
analogous
#18103D #2F103D #3D1035
triadic
#2F103D #3D2F10 #103D2F
tetradic
#2F103D #3D1810 #1E3D10 #10353D
square
#2F103D #3D1810 #1E3D10 #10353D
split-complementary
#2F103D #353D10 #103D18
monochromatic
#130618 #130618 #2F103D #541D6D #7A299E

Accessibility & contrast

On white

16.63
#2F103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F103D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F103D
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F103D#FFFFFF#000000##FFFFFF
##2F103D1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3E
Deuteranopia (green-blind)
#0E1F3C
Tritanopia (blue-blind)
#2E1924
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f103d;
/* rgb */ color: rgb(47, 16, 61);
/* oklch */ color: oklch(24.6% 0.086 313.6);
Tailwind
colors: {
  custom: {
    50: '#695073',
    500: '#2f103d',
    950: '#000000',
  },
}
SCSS
$custom: #2f103d;
$custom-light: #695073;
$custom-dark: #000000;
JSON
{
  "hex": "#2f103d",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 281.333,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24649,
    "c": 0.08638,
    "h": 313.6
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#2F103D
secondary
#477732
accent
#E24677
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F103D

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

Preview Lab → · Contrast checker → · Palette generator →

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