#2F083D#2F083D

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

Color values

HEX#2F083D
RGBrgb(47, 8, 61)
HSLhsl(284, 77%, 14%)
HSVhsv(284, 87%, 24%)
CMYKcmyk(23%, 86.9%, 0%, 76.1%)
CIE-LABlab(9.91, 28.63, -24.56)
CIE-LCHlch(9.91, 37.72, 319.37°)
OKLaboklab(23.62% 0.0698 -0.0693)
OKLCHoklch(23.62% 0.098 315.2)
XYZxyz(2.1013, 1.1150, 4.5185)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F083D #163D08
analogous
#14083D #2F083D #3D0830
triadic
#2F083D #3D2F08 #083D2F
tetradic
#2F083D #3D1408 #163D08 #08303D
square
#2F083D #3D1408 #163D08 #08303D
split-complementary
#2F083D #303D08 #083D14
monochromatic
#15041B #15041B #2F083D #590F73 #8216A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F083D#FFFFFF#000000##FFFFFF
##2F083D1.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)
#00193E
Deuteranopia (green-blind)
#061C3C
Tritanopia (blue-blind)
#2E1422
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f083d;
/* rgb */ color: rgb(47, 8, 61);
/* oklch */ color: oklch(23.6% 0.098 315.2);
Tailwind
colors: {
  custom: {
    50: '#6a4c73',
    500: '#2f083d',
    950: '#000000',
  },
}
SCSS
$custom: #2f083d;
$custom-light: #6a4c73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f083d",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 284.151,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23618,
    "c": 0.09837,
    "h": 315.2
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#2F083D
secondary
#3C7C25
accent
#F33467
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F083D

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

Preview Lab → · Contrast checker → · Palette generator →

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