#2F0E35#2F0E35

#2F0E35 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.080 H 321.2°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#2F0E35
RGBrgb(47, 14, 53)
HSLhsl(291, 58%, 13%)
HSVhsv(291, 74%, 21%)
CMYKcmyk(11.3%, 73.6%, 0%, 79.2%)
CIE-LABlab(10.38, 23.70, -18.06)
CIE-LCHlch(10.38, 29.79, 322.69°)
OKLaboklab(23.75% 0.0626 -0.0503)
OKLCHoklch(23.75% 0.08 321.2)
XYZxyz(1.9719, 1.1756, 3.4905)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E35 #14350E
analogous
#1B0E35 #2F0E35 #350E27
triadic
#2F0E35 #352F0E #0E352F
tetradic
#2F0E35 #351B0E #14350E #0E2735
square
#2F0E35 #351B0E #14350E #0E2735
split-complementary
#2F0E35 #27350E #0E351B
monochromatic
#150618 #150618 #2F0E35 #5A1B65 #852896

Accessibility & contrast

On white

17.00
#2F0E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E35
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E35#FFFFFF#000000##FFFFFF
##2F0E351.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A36
Deuteranopia (green-blind)
#121D34
Tritanopia (blue-blind)
#2F141F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0e35;
/* rgb */ color: rgb(47, 14, 53);
/* oklch */ color: oklch(23.8% 0.080 321.2);
Tailwind
colors: {
  custom: {
    50: '#694f6c',
    500: '#2f0e35',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e35;
$custom-light: #694f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e35",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 53
  },
  "hsl": {
    "h": 290.769,
    "s": 58.209,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23754,
    "c": 0.0803,
    "h": 321.2
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#2F0E35
secondary
#39702F
accent
#E1465E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0E35

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

Preview Lab → · Contrast checker → · Palette generator →

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