#2F0E38#2F0E38

#2F0E38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.084 H 318.4°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#2F0E38
RGBrgb(47, 14, 56)
HSLhsl(287, 60%, 14%)
HSVhsv(287, 75%, 22%)
CMYKcmyk(16.1%, 75%, 0%, 78%)
CIE-LABlab(10.59, 24.42, -19.89)
CIE-LCHlch(10.59, 31.50, 320.84°)
OKLaboklab(23.98% 0.0626 -0.0557)
OKLCHoklch(23.98% 0.084 318.4)
XYZxyz(2.0430, 1.2040, 3.8654)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E38 #17380E
analogous
#1A0E38 #2F0E38 #380E2C
triadic
#2F0E38 #382F0E #0E382F
tetradic
#2F0E38 #381A0E #17380E #0E2C38
square
#2F0E38 #381A0E #17380E #0E2C38
split-complementary
#2F0E38 #2C380E #0E381A
monochromatic
#150618 #150618 #2F0E38 #581A69 #81269A

Accessibility & contrast

On white

16.92
#2F0E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E38
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E38#FFFFFF#000000##FFFFFF
##2F0E381.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A39
Deuteranopia (green-blind)
#101E37
Tritanopia (blue-blind)
#2F1521
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0e38;
/* rgb */ color: rgb(47, 14, 56);
/* oklch */ color: oklch(24.0% 0.084 318.4);
Tailwind
colors: {
  custom: {
    50: '#694f6f',
    500: '#2f0e38',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e38;
$custom-light: #694f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e38",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 56
  },
  "hsl": {
    "h": 287.143,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23975,
    "c": 0.08377,
    "h": 318.4
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#2F0E38
secondary
#3D732F
accent
#E34567
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0E38

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

Preview Lab → · Contrast checker → · Palette generator →

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