#2F063C#2F063C

#2F063C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.100 H 316.3°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#2F063C
RGBrgb(47, 6, 60)
HSLhsl(286, 82%, 13%)
HSVhsv(286, 90%, 24%)
CMYKcmyk(21.7%, 90%, 0%, 76.5%)
CIE-LABlab(9.49, 29.38, -24.53)
CIE-LCHlch(9.49, 38.28, 320.14°)
OKLaboklab(23.29% 0.0725 -0.0692)
OKLCHoklch(23.29% 0.1 316.3)
XYZxyz(2.0529, 1.0609, 4.3707)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F063C #133C06
analogous
#14063C #2F063C #3C062E
triadic
#2F063C #3C2F06 #063C2F
tetradic
#2F063C #3C1406 #133C06 #062E3C
square
#2F063C #3C1406 #133C06 #062E3C
split-complementary
#2F063C #2E3C06 #063C14
monochromatic
#16031C #16031C #2F063C #5B0C74 #8611AB

Accessibility & contrast

On white

17.32
#2F063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F063C
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F063C#FFFFFF#000000##FFFFFF
##2F063C1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#061C3B
Tritanopia (blue-blind)
#2E1221
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f063c;
/* rgb */ color: rgb(47, 6, 60);
/* oklch */ color: oklch(23.3% 0.100 316.3);
Tailwind
colors: {
  custom: {
    50: '#6a4b72',
    500: '#2f063c',
    950: '#000000',
  },
}
SCSS
$custom: #2f063c;
$custom-light: #6a4b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f063c",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 285.556,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23292,
    "c": 0.10023,
    "h": 316.3
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#2F063C
secondary
#377C22
accent
#F83060
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F063C

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

Preview Lab → · Contrast checker → · Palette generator →

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