#2F093C#2F093C

#2F093C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.096 H 315.8°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#2F093C
RGBrgb(47, 9, 60)
HSLhsl(285, 74%, 14%)
HSVhsv(285, 85%, 24%)
CMYKcmyk(21.7%, 85%, 0%, 76.5%)
CIE-LABlab(10.00, 27.91, -23.71)
CIE-LCHlch(10.00, 36.62, 319.65°)
OKLaboklab(23.65% 0.0688 -0.0668)
OKLCHoklch(23.65% 0.096 315.8)
XYZxyz(2.0855, 1.1260, 4.3816)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F093C #163C09
analogous
#15093C #2F093C #3C092F
triadic
#2F093C #3C2F09 #093C2F
tetradic
#2F093C #3C1509 #163C09 #092F3C
square
#2F093C #3C1509 #163C09 #092F3C
split-complementary
#2F093C #2F3C09 #093C15
monochromatic
#15041B #15041B #2F093C #591171 #8219A6

Accessibility & contrast

On white

17.14
#2F093C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F093C
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F093C#FFFFFF#000000##FFFFFF
##2F093C1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#081C3B
Tritanopia (blue-blind)
#2E1422
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f093c;
/* rgb */ color: rgb(47, 9, 60);
/* oklch */ color: oklch(23.7% 0.096 315.8);
Tailwind
colors: {
  custom: {
    50: '#6a4d72',
    500: '#2f093c',
    950: '#000000',
  },
}
SCSS
$custom: #2f093c;
$custom-light: #6a4d72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f093c",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 60
  },
  "hsl": {
    "h": 284.706,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23653,
    "c": 0.09588,
    "h": 315.8
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#2F093C
secondary
#3C7A27
accent
#F13766
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F093C

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

Preview Lab → · Contrast checker → · Palette generator →

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