#2F0F3A#2F0F3A

#2F0F3A is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.084 H 316.4°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2F0F3A
RGBrgb(47, 15, 58)
HSLhsl(285, 59%, 14%)
HSVhsv(285, 74%, 23%)
CMYKcmyk(19%, 74.1%, 0%, 77.3%)
CIE-LABlab(10.93, 24.36, -20.78)
CIE-LCHlch(10.93, 32.02, 319.54°)
OKLaboklab(24.27% 0.0611 -0.0583)
OKLCHoklch(24.27% 0.084 316.4)
XYZxyz(2.1067, 1.2516, 4.1328)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F3A #1A3A0F
analogous
#1A0F3A #2F0F3A #3A0F30
triadic
#2F0F3A #3A2F0F #0F3A2F
tetradic
#2F0F3A #3A1A0F #1A3A0F #0F303A
square
#2F0F3A #3A1A0F #1A3A0F #0F303A
split-complementary
#2F0F3A #303A0F #0F3A1A
monochromatic
#140618 #140618 #2F0F3A #561C6B #7E289B

Accessibility & contrast

On white

16.80
#2F0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F3A
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F3A#FFFFFF#000000##FFFFFF
##2F0F3A1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3B
Deuteranopia (green-blind)
#0F1E39
Tritanopia (blue-blind)
#2E1722
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0f3a;
/* rgb */ color: rgb(47, 15, 58);
/* oklch */ color: oklch(24.3% 0.084 316.4);
Tailwind
colors: {
  custom: {
    50: '#695070',
    500: '#2f0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f3a;
$custom-light: #695070;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f3a",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 284.651,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24271,
    "c": 0.08445,
    "h": 316.4
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#2F0F3A
secondary
#427430
accent
#E2466E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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