#2F0F3C#2F0F3C

#2F0F3C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.087 H 314.7°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2F0F3C
RGBrgb(47, 15, 60)
HSLhsl(283, 60%, 15%)
HSVhsv(283, 75%, 24%)
CMYKcmyk(21.7%, 75%, 0%, 76.5%)
CIE-LABlab(11.08, 24.87, -21.97)
CIE-LCHlch(11.08, 33.19, 318.54°)
OKLaboklab(24.43% 0.0611 -0.0618)
OKLCHoklch(24.43% 0.087 314.7)
XYZxyz(2.1586, 1.2723, 4.4060)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F3C #1C3C0F
analogous
#190F3C #2F0F3C #3C0F33
triadic
#2F0F3C #3C2F0F #0F3C2F
tetradic
#2F0F3C #3C190F #1C3C0F #0F333C
square
#2F0F3C #3C190F #1C3C0F #0F333C
split-complementary
#2F0F3C #333C0F #0F3C19
monochromatic
#130618 #130618 #2F0F3C #551B6D #7C279E

Accessibility & contrast

On white

16.74
#2F0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F0F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F3C
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F3C#FFFFFF#000000##FFFFFF
##2F0F3C1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3D
Deuteranopia (green-blind)
#0E1E3B
Tritanopia (blue-blind)
#2E1823
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0f3c;
/* rgb */ color: rgb(47, 15, 60);
/* oklch */ color: oklch(24.4% 0.087 314.7);
Tailwind
colors: {
  custom: {
    50: '#695072',
    500: '#2f0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f3c;
$custom-light: #695072;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f3c",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 282.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24425,
    "c": 0.08684,
    "h": 314.7
  },
  "luminance": 0.01272
}

Semantic roles & 50–950 ramp

primary
#2F0F3C
secondary
#457630
accent
#E34572
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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