#2F093E#2F093E

#2F093E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.098 H 314.3°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2F093E
RGBrgb(47, 9, 62)
HSLhsl(283, 75%, 14%)
HSVhsv(283, 85%, 24%)
CMYKcmyk(24.2%, 85.5%, 0%, 75.7%)
CIE-LABlab(10.16, 28.39, -24.87)
CIE-LCHlch(10.16, 37.75, 318.78°)
OKLaboklab(23.82% 0.0685 -0.0702)
OKLCHoklch(23.82% 0.098 314.3)
XYZxyz(2.1393, 1.1476, 4.6653)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F093E #183E09
analogous
#15093E #2F093E #3E0933
triadic
#2F093E #3E2F09 #093E2F
tetradic
#2F093E #3E1509 #183E09 #09333E
square
#2F093E #3E1509 #183E09 #09333E
split-complementary
#2F093E #333E09 #093E15
monochromatic
#14041B #14041B #2F093E #581173 #8019A9

Accessibility & contrast

On white

17.08
#2F093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F093E
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F093E#FFFFFF#000000##FFFFFF
##2F093E1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#061D3D
Tritanopia (blue-blind)
#2E1523
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f093e;
/* rgb */ color: rgb(47, 9, 62);
/* oklch */ color: oklch(23.8% 0.098 314.3);
Tailwind
colors: {
  custom: {
    50: '#6a4d74',
    500: '#2f093e',
    950: '#000000',
  },
}
SCSS
$custom: #2f093e;
$custom-light: #6a4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f093e",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 283.019,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23822,
    "c": 0.09806,
    "h": 314.3
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#2F093E
secondary
#3F7C27
accent
#F1376B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F093E

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

Preview Lab → · Contrast checker → · Palette generator →

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