#2F033A#2F033A

#2F033A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.103 H 318.4°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#2F033A
RGBrgb(47, 3, 58)
HSLhsl(288, 90%, 12%)
HSVhsv(288, 95%, 23%)
CMYKcmyk(19%, 94.8%, 0%, 77.3%)
CIE-LABlab(8.78, 30.49, -24.24)
CIE-LCHlch(8.78, 38.95, 321.52°)
OKLaboklab(22.74% 0.077 -0.0683)
OKLCHoklch(22.74% 0.103 318.4)
XYZxyz(1.9685, 0.9750, 4.0867)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F033A #0E3A03
analogous
#14033A #2F033A #3A032A
triadic
#2F033A #3A2F03 #033A2F
tetradic
#2F033A #3A1403 #0E3A03 #032A3A
square
#2F033A #3A1403 #0E3A03 #032A3A
split-complementary
#2F033A #2A3A03 #033A14
monochromatic
#18021D #18021D #2F033A #5E0674 #8D09AE

Accessibility & contrast

On white

17.57
#2F033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F033A
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F033A#FFFFFF#000000##FFFFFF
##2F033A1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#051A39
Tritanopia (blue-blind)
#2F0F1F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f033a;
/* rgb */ color: rgb(47, 3, 58);
/* oklch */ color: oklch(22.7% 0.103 318.4);
Tailwind
colors: {
  custom: {
    50: '#6a4970',
    500: '#2f033a',
    950: '#000000',
  },
}
SCSS
$custom: #2f033a;
$custom-light: #6a4970;
$custom-dark: #000000;
JSON
{
  "hex": "#2f033a",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 288,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22742,
    "c": 0.10289,
    "h": 318.4
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#2F033A
secondary
#2F7D1C
accent
#FF2954
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F033A

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

Preview Lab → · Contrast checker → · Palette generator →

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