#2D0F3C#2D0F3C

#2D0F3C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.086 H 312.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#2D0F3C
RGBrgb(45, 15, 60)
HSLhsl(280, 60%, 15%)
HSVhsv(280, 75%, 24%)
CMYKcmyk(25%, 75%, 0%, 76.5%)
CIE-LABlab(10.75, 24.31, -22.53)
CIE-LCHlch(10.75, 33.14, 317.18°)
OKLaboklab(24.11% 0.058 -0.0635)
OKLCHoklch(24.11% 0.086 312.4)
XYZxyz(2.0685, 1.2258, 4.4017)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F3C #1E3C0F
analogous
#170F3C #2D0F3C #3C0F35
triadic
#2D0F3C #3C2D0F #0F3C2D
tetradic
#2D0F3C #3C170F #1E3C0F #0F353C
square
#2D0F3C #3C170F #1E3C0F #0F353C
split-complementary
#2D0F3C #353C0F #0F3C17
monochromatic
#120618 #120618 #2D0F3C #521B6D #76279E

Accessibility & contrast

On white

16.86
#2D0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F3C
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F3C#FFFFFF#000000##FFFFFF
##2D0F3C1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#0B1E3B
Tritanopia (blue-blind)
#2B1823
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0f3c;
/* rgb */ color: rgb(45, 15, 60);
/* oklch */ color: oklch(24.1% 0.086 312.4);
Tailwind
colors: {
  custom: {
    50: '#685072',
    500: '#2d0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f3c;
$custom-light: #685072;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f3c",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24114,
    "c": 0.08594,
    "h": 312.4
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#2D0F3C
secondary
#487630
accent
#E34579
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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