#2F063D#2F063D

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

Color values

HEX#2F063D
RGBrgb(47, 6, 61)
HSLhsl(285, 82%, 13%)
HSVhsv(285, 90%, 24%)
CMYKcmyk(23%, 90.2%, 0%, 76.1%)
CIE-LABlab(9.57, 29.61, -25.11)
CIE-LCHlch(9.57, 38.83, 319.70°)
OKLaboklab(23.38% 0.0723 -0.0709)
OKLCHoklch(23.38% 0.101 315.6)
XYZxyz(2.0796, 1.0716, 4.5113)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F063D #143D06
analogous
#13063D #2F063D #3D062F
triadic
#2F063D #3D2F06 #063D2F
tetradic
#2F063D #3D1306 #143D06 #062F3D
square
#2F063D #3D1306 #143D06 #062F3D
split-complementary
#2F063D #2F3D06 #063D13
monochromatic
#15031C #15031C #2F063D #5A0B75 #8511AC

Accessibility & contrast

On white

17.29
#2F063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F063D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F063D
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F063D#FFFFFF#000000##FFFFFF
##2F063D1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#2E1321
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f063d;
/* rgb */ color: rgb(47, 6, 61);
/* oklch */ color: oklch(23.4% 0.101 315.6);
Tailwind
colors: {
  custom: {
    50: '#6a4b73',
    500: '#2f063d',
    950: '#000000',
  },
}
SCSS
$custom: #2f063d;
$custom-light: #6a4b73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f063d",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 284.727,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23378,
    "c": 0.10126,
    "h": 315.6
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#2F063D
secondary
#397D22
accent
#F82F63
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F063D

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

Preview Lab → · Contrast checker → · Palette generator →

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