#2F0A3E#2F0A3E

#2F0A3E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.097 H 314.1°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2F0A3E
RGBrgb(47, 10, 62)
HSLhsl(283, 72%, 14%)
HSVhsv(283, 84%, 24%)
CMYKcmyk(24.2%, 83.9%, 0%, 75.7%)
CIE-LABlab(10.33, 27.92, -24.61)
CIE-LCHlch(10.33, 37.22, 318.61°)
OKLaboklab(23.94% 0.0673 -0.0694)
OKLCHoklch(23.94% 0.097 314.1)
XYZxyz(2.1502, 1.1693, 4.6689)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A3E #193E0A
analogous
#150A3E #2F0A3E #3E0A33
triadic
#2F0A3E #3E2F0A #0A3E2F
tetradic
#2F0A3E #3E150A #193E0A #0A333E
square
#2F0A3E #3E150A #193E0A #0A333E
split-complementary
#2F0A3E #333E0A #0A3E15
monochromatic
#14041A #14041A #2F0A3E #571373 #7F1BA7

Accessibility & contrast

On white

17.02
#2F0A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A3E
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A3E#FFFFFF#000000##FFFFFF
##2F0A3E1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#071D3D
Tritanopia (blue-blind)
#2E1523
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0a3e;
/* rgb */ color: rgb(47, 10, 62);
/* oklch */ color: oklch(23.9% 0.097 314.1);
Tailwind
colors: {
  custom: {
    50: '#6a4d74',
    500: '#2f0a3e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a3e;
$custom-light: #6a4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a3e",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 282.692,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23938,
    "c": 0.09669,
    "h": 314.1
  },
  "luminance": 0.01169
}

Semantic roles & 50–950 ramp

primary
#2F0A3E
secondary
#407B28
accent
#EF396D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F0A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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