#2F093F#2F093F

#2F093F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.099 H 313.5°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2F093F
RGBrgb(47, 9, 63)
HSLhsl(282, 75%, 14%)
HSVhsv(282, 86%, 25%)
CMYKcmyk(25.4%, 85.7%, 0%, 75.3%)
CIE-LABlab(10.25, 28.64, -25.45)
CIE-LCHlch(10.25, 38.31, 318.37°)
OKLaboklab(23.91% 0.0683 -0.0719)
OKLCHoklch(23.91% 0.099 313.5)
XYZxyz(2.1670, 1.1587, 4.8112)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F093F #193F09
analogous
#14093F #2F093F #3F0934
triadic
#2F093F #3F2F09 #093F2F
tetradic
#2F093F #3F1409 #193F09 #09343F
square
#2F093F #3F1409 #193F09 #09343F
split-complementary
#2F093F #343F09 #093F14
monochromatic
#14041B #14041B #2F093F #571175 #7F18AA

Accessibility & contrast

On white

17.05
#2F093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F093F
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F093F#FFFFFF#000000##FFFFFF
##2F093F1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#051D3E
Tritanopia (blue-blind)
#2D1523
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f093f;
/* rgb */ color: rgb(47, 9, 63);
/* oklch */ color: oklch(23.9% 0.099 313.5);
Tailwind
colors: {
  custom: {
    50: '#6a4d74',
    500: '#2f093f',
    950: '#000000',
  },
}
SCSS
$custom: #2f093f;
$custom-light: #6a4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f093f",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 282.222,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23908,
    "c": 0.09915,
    "h": 313.5
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#2F093F
secondary
#407D27
accent
#F2366E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F093F

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

Preview Lab → · Contrast checker → · Palette generator →

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