#2F0F3E#2F0F3E

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

Color values

HEX#2F0F3E
RGBrgb(47, 15, 62)
HSLhsl(281, 61%, 15%)
HSVhsv(281, 76%, 24%)
CMYKcmyk(24.2%, 75.8%, 0%, 75.7%)
CIE-LABlab(11.23, 25.38, -23.15)
CIE-LCHlch(11.23, 34.36, 317.63°)
OKLaboklab(24.58% 0.0609 -0.0652)
OKLCHoklch(24.58% 0.089 313.1)
XYZxyz(2.2125, 1.2938, 4.6897)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F3E #1E3E0F
analogous
#170F3E #2F0F3E #3E0F35
triadic
#2F0F3E #3E2F0F #0F3E2F
tetradic
#2F0F3E #3E170F #1E3E0F #0F353E
square
#2F0F3E #3E170F #1E3E0F #0F353E
split-complementary
#2F0F3E #353E0F #0F3E17
monochromatic
#130619 #130619 #2F0F3E #541B6F #7A27A1

Accessibility & contrast

On white

16.68
#2F0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F3E
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F3E#FFFFFF#000000##FFFFFF
##2F0F3E1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#0C1F3D
Tritanopia (blue-blind)
#2D1825
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0f3e;
/* rgb */ color: rgb(47, 15, 62);
/* oklch */ color: oklch(24.6% 0.089 313.1);
Tailwind
colors: {
  custom: {
    50: '#6a5073',
    500: '#2f0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f3e;
$custom-light: #6a5073;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f3e",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 280.851,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24583,
    "c": 0.08925,
    "h": 313.1
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#2F0F3E
secondary
#477830
accent
#E44477
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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