#2F0F3F#2F0F3F

#2F0F3F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.090 H 312.3°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#2F0F3F
RGBrgb(47, 15, 63)
HSLhsl(280, 62%, 15%)
HSVhsv(280, 76%, 25%)
CMYKcmyk(25.4%, 76.2%, 0%, 75.3%)
CIE-LABlab(11.31, 25.64, -23.74)
CIE-LCHlch(11.31, 34.94, 317.21°)
OKLaboklab(24.66% 0.0608 -0.0669)
OKLCHoklch(24.66% 0.09 312.3)
XYZxyz(2.2402, 1.3049, 4.8355)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F3F #1F3F0F
analogous
#170F3F #2F0F3F #3F0F37
triadic
#2F0F3F #3F2F0F #0F3F2F
tetradic
#2F0F3F #3F170F #1F3F0F #0F373F
square
#2F0F3F #3F170F #1F3F0F #0F373F
split-complementary
#2F0F3F #373F0F #0F3F17
monochromatic
#120619 #120619 #2F0F3F #541B70 #7927A2

Accessibility & contrast

On white

16.65
#2F0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F0F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F3F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F3F#FFFFFF#000000##FFFFFF
##2F0F3F1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#0B1F3E
Tritanopia (blue-blind)
#2D1925
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0f3f;
/* rgb */ color: rgb(47, 15, 63);
/* oklch */ color: oklch(24.7% 0.090 312.3);
Tailwind
colors: {
  custom: {
    50: '#6a5074',
    500: '#2f0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f3f;
$custom-light: #6a5074;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f3f",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 280,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24663,
    "c": 0.09046,
    "h": 312.3
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#2F0F3F
secondary
#497930
accent
#E54379
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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