#2F073E#2F073E

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

Color values

HEX#2F073E
RGBrgb(47, 7, 62)
HSLhsl(284, 80%, 14%)
HSVhsv(284, 89%, 24%)
CMYKcmyk(24.2%, 88.7%, 0%, 75.7%)
CIE-LABlab(9.83, 29.35, -25.41)
CIE-LCHlch(9.83, 38.82, 319.11°)
OKLaboklab(23.59% 0.0709 -0.0718)
OKLCHoklch(23.59% 0.101 314.6)
XYZxyz(2.1176, 1.1042, 4.6581)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F073E #163E07
analogous
#13073E #2F073E #3E0731
triadic
#2F073E #3E2F07 #073E2F
tetradic
#2F073E #3E1307 #163E07 #07313E
square
#2F073E #3E1307 #163E07 #07313E
split-complementary
#2F073E #313E07 #073E13
monochromatic
#15031B #15031B #2F073E #590D75 #8213AC

Accessibility & contrast

On white

17.20
#2F073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F073E
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F073E#FFFFFF#000000##FFFFFF
##2F073E1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#041C3D
Tritanopia (blue-blind)
#2E1422
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f073e;
/* rgb */ color: rgb(47, 7, 62);
/* oklch */ color: oklch(23.6% 0.101 314.6);
Tailwind
colors: {
  custom: {
    50: '#6a4c74',
    500: '#2f073e',
    950: '#000000',
  },
}
SCSS
$custom: #2f073e;
$custom-light: #6a4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f073e",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 283.636,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23586,
    "c": 0.10086,
    "h": 314.6
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#2F073E
secondary
#3C7D24
accent
#F63267
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F073E

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

Preview Lab → · Contrast checker → · Palette generator →

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