#2F083E#2F083E

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

Color values

HEX#2F083E
RGBrgb(47, 8, 62)
HSLhsl(283, 77%, 14%)
HSVhsv(283, 87%, 24%)
CMYKcmyk(24.2%, 87.1%, 0%, 75.7%)
CIE-LABlab(10.00, 28.87, -25.14)
CIE-LCHlch(10.00, 38.28, 318.95°)
OKLaboklab(23.7% 0.0696 -0.071)
OKLCHoklch(23.7% 0.099 314.4)
XYZxyz(2.1285, 1.1259, 4.6617)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F083E #173E08
analogous
#14083E #2F083E #3E0832
triadic
#2F083E #3E2F08 #083E2F
tetradic
#2F083E #3E1408 #173E08 #08323E
square
#2F083E #3E1408 #173E08 #08323E
split-complementary
#2F083E #323E08 #083E14
monochromatic
#15031B #15031B #2F083E #580F74 #8116AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F083E#FFFFFF#000000##FFFFFF
##2F083E1.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)
#00193F
Deuteranopia (green-blind)
#051C3D
Tritanopia (blue-blind)
#2E1423
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f083e;
/* rgb */ color: rgb(47, 8, 62);
/* oklch */ color: oklch(23.7% 0.099 314.4);
Tailwind
colors: {
  custom: {
    50: '#6a4c74',
    500: '#2f083e',
    950: '#000000',
  },
}
SCSS
$custom: #2f083e;
$custom-light: #6a4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f083e",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 283.333,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23704,
    "c": 0.09945,
    "h": 314.4
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#2F083E
secondary
#3D7D25
accent
#F43469
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F083E

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

Preview Lab → · Contrast checker → · Palette generator →

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