#2F093B#2F093B

#2F093B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.095 H 316.7°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#2F093B
RGBrgb(47, 9, 59)
HSLhsl(286, 74%, 13%)
HSVhsv(286, 85%, 23%)
CMYKcmyk(20.3%, 84.7%, 0%, 76.9%)
CIE-LABlab(9.92, 27.67, -23.12)
CIE-LCHlch(9.92, 36.06, 320.12°)
OKLaboklab(23.57% 0.0689 -0.0651)
OKLCHoklch(23.57% 0.095 316.7)
XYZxyz(2.0593, 1.1156, 4.2437)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F093B #153B09
analogous
#16093B #2F093B #3B092E
triadic
#2F093B #3B2F09 #093B2F
tetradic
#2F093B #3B1609 #153B09 #092E3B
square
#2F093B #3B1609 #153B09 #092E3B
split-complementary
#2F093B #2E3B09 #093B16
monochromatic
#15041B #15041B #2F093B #591170 #8419A5

Accessibility & contrast

On white

17.17
#2F093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F093B
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F093B#FFFFFF#000000##FFFFFF
##2F093B1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#091C3A
Tritanopia (blue-blind)
#2E1421
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f093b;
/* rgb */ color: rgb(47, 9, 59);
/* oklch */ color: oklch(23.6% 0.095 316.7);
Tailwind
colors: {
  custom: {
    50: '#6a4d71',
    500: '#2f093b',
    950: '#000000',
  },
}
SCSS
$custom: #2f093b;
$custom-light: #6a4d71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f093b",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 285.6,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2357,
    "c": 0.09479,
    "h": 316.7
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#2F093B
secondary
#3B7927
accent
#F03864
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F093B

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

Preview Lab → · Contrast checker → · Palette generator →

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