#2F103A#2F103A

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

Color values

HEX#2F103A
RGBrgb(47, 16, 58)
HSLhsl(284, 57%, 15%)
HSVhsv(284, 72%, 23%)
CMYKcmyk(19%, 72.4%, 0%, 77.3%)
CIE-LABlab(11.14, 23.80, -20.45)
CIE-LCHlch(11.14, 31.38, 319.33°)
OKLaboklab(24.42% 0.0597 -0.0573)
OKLCHoklch(24.42% 0.083 316.2)
XYZxyz(2.1212, 1.2805, 4.1376)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F103A #1B3A10
analogous
#1A103A #2F103A #3A1030
triadic
#2F103A #3A2F10 #103A2F
tetradic
#2F103A #3A1A10 #1B3A10 #10303A
square
#2F103A #3A1A10 #1B3A10 #10303A
split-complementary
#2F103A #303A10 #103A1A
monochromatic
#130718 #130718 #2F103A #561D6A #7D2A9A

Accessibility & contrast

On white

16.72
#2F103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F103A
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F103A#FFFFFF#000000##FFFFFF
##2F103A1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3B
Deuteranopia (green-blind)
#101F39
Tritanopia (blue-blind)
#2E1723
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f103a;
/* rgb */ color: rgb(47, 16, 58);
/* oklch */ color: oklch(24.4% 0.083 316.2);
Tailwind
colors: {
  custom: {
    50: '#695070',
    500: '#2f103a',
    950: '#000000',
  },
}
SCSS
$custom: #2f103a;
$custom-light: #695070;
$custom-dark: #000000;
JSON
{
  "hex": "#2f103a",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 284.286,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24419,
    "c": 0.08273,
    "h": 316.2
  },
  "luminance": 0.0128
}

Semantic roles & 50–950 ramp

primary
#2F103A
secondary
#437432
accent
#E04870
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F103A

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

Preview Lab → · Contrast checker → · Palette generator →

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