#2F0C3E#2F0C3E

#2F0C3E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.094 H 313.7°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#2F0C3E
RGBrgb(47, 12, 62)
HSLhsl(282, 68%, 15%)
HSVhsv(282, 81%, 24%)
CMYKcmyk(24.2%, 80.6%, 0%, 75.7%)
CIE-LABlab(10.67, 26.96, -24.06)
CIE-LCHlch(10.67, 36.13, 318.25°)
OKLaboklab(24.18% 0.0649 -0.0678)
OKLCHoklch(24.18% 0.094 313.7)
XYZxyz(2.1731, 1.2152, 4.6766)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C3E #1B3E0C
analogous
#160C3E #2F0C3E #3E0C34
triadic
#2F0C3E #3E2F0C #0C3E2F
tetradic
#2F0C3E #3E160C #1B3E0C #0C343E
square
#2F0C3E #3E160C #1B3E0C #0C343E
split-complementary
#2F0C3E #343E0C #0C3E16
monochromatic
#13051A #13051A #2F0C3E #561671 #7D20A5

Accessibility & contrast

On white

16.89
#2F0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F0C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0C3E
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C3E#FFFFFF#000000##FFFFFF
##2F0C3E1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#091E3D
Tritanopia (blue-blind)
#2E1724
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0c3e;
/* rgb */ color: rgb(47, 12, 62);
/* oklch */ color: oklch(24.2% 0.094 313.7);
Tailwind
colors: {
  custom: {
    50: '#6a4e74',
    500: '#2f0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c3e;
$custom-light: #6a4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c3e",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 282,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24179,
    "c": 0.09387,
    "h": 313.7
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#2F0C3E
secondary
#437A2C
accent
#EA3D71
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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