#2F083F#2F083F

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

Color values

HEX#2F083F
RGBrgb(47, 8, 63)
HSLhsl(283, 77%, 14%)
HSVhsv(283, 87%, 25%)
CMYKcmyk(25.4%, 87.3%, 0%, 75.3%)
CIE-LABlab(10.08, 29.11, -25.72)
CIE-LCHlch(10.08, 38.84, 318.54°)
OKLaboklab(23.79% 0.0694 -0.0727)
OKLCHoklch(23.79% 0.101 313.7)
XYZxyz(2.1562, 1.1370, 4.8075)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F083F #183F08
analogous
#14083F #2F083F #3F0834
triadic
#2F083F #3F2F08 #083F2F
tetradic
#2F083F #3F1408 #183F08 #08343F
square
#2F083F #3F1408 #183F08 #08343F
split-complementary
#2F083F #343F08 #083F14
monochromatic
#14031B #14031B #2F083F #580F75 #8016AC

Accessibility & contrast

On white

17.11
#2F083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F083F
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F083F#FFFFFF#000000##FFFFFF
##2F083F1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f083f;
/* rgb */ color: rgb(47, 8, 63);
/* oklch */ color: oklch(23.8% 0.101 313.7);
Tailwind
colors: {
  custom: {
    50: '#6a4c74',
    500: '#2f083f',
    950: '#000000',
  },
}
SCSS
$custom: #2f083f;
$custom-light: #6a4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f083f",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 282.545,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23791,
    "c": 0.10052,
    "h": 313.7
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#2F083F
secondary
#3F7E25
accent
#F4346C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F083F

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

Preview Lab → · Contrast checker → · Palette generator →

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