#2F093A#2F093A

#2F093A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.094 H 317.5°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#2F093A
RGBrgb(47, 9, 58)
HSLhsl(287, 73%, 13%)
HSVhsv(287, 84%, 23%)
CMYKcmyk(19%, 84.5%, 0%, 77.3%)
CIE-LABlab(9.84, 27.43, -22.53)
CIE-LCHlch(9.84, 35.50, 320.60°)
OKLaboklab(23.49% 0.0691 -0.0633)
OKLCHoklch(23.49% 0.094 317.5)
XYZxyz(2.0336, 1.1053, 4.1084)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F093A #143A09
analogous
#16093A #2F093A #3A092C
triadic
#2F093A #3A2F09 #093A2F
tetradic
#2F093A #3A1609 #143A09 #092C3A
square
#2F093A #3A1609 #143A09 #092C3A
split-complementary
#2F093A #2C3A09 #093A16
monochromatic
#15041A #15041A #2F093A #5A116F #8519A4

Accessibility & contrast

On white

17.20
#2F093A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F093A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F093A
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F093A#FFFFFF#000000##FFFFFF
##2F093A1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#0A1C39
Tritanopia (blue-blind)
#2F1321
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f093a;
/* rgb */ color: rgb(47, 9, 58);
/* oklch */ color: oklch(23.5% 0.094 317.5);
Tailwind
colors: {
  custom: {
    50: '#6a4d70',
    500: '#2f093a',
    950: '#000000',
  },
}
SCSS
$custom: #2f093a;
$custom-light: #6a4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f093a",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 58
  },
  "hsl": {
    "h": 286.531,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23487,
    "c": 0.09371,
    "h": 317.5
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#2F093A
secondary
#397827
accent
#F03861
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F093A

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

Preview Lab → · Contrast checker → · Palette generator →

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