#2D0F3D#2D0F3D

#2D0F3D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.087 H 311.6°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#2D0F3D
RGBrgb(45, 15, 61)
HSLhsl(279, 61%, 15%)
HSVhsv(279, 75%, 24%)
CMYKcmyk(26.2%, 75.4%, 0%, 76.1%)
CIE-LABlab(10.82, 24.57, -23.12)
CIE-LCHlch(10.82, 33.74, 316.75°)
OKLaboklab(24.2% 0.0579 -0.0652)
OKLCHoklch(24.2% 0.087 311.6)
XYZxyz(2.0952, 1.2365, 4.5423)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F3D #1F3D0F
analogous
#160F3D #2D0F3D #3D0F36
triadic
#2D0F3D #3D2D0F #0F3D2D
tetradic
#2D0F3D #3D160F #1F3D0F #0F363D
square
#2D0F3D #3D160F #1F3D0F #0F363D
split-complementary
#2D0F3D #363D0F #0F3D16
monochromatic
#120619 #120619 #2D0F3D #511B6E #75279F

Accessibility & contrast

On white

16.84
#2D0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F3D
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F3D#FFFFFF#000000##FFFFFF
##2D0F3D1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#0A1E3C
Tritanopia (blue-blind)
#2B1824
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0f3d;
/* rgb */ color: rgb(45, 15, 61);
/* oklch */ color: oklch(24.2% 0.087 311.6);
Tailwind
colors: {
  custom: {
    50: '#685073',
    500: '#2d0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f3d;
$custom-light: #685073;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f3d",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 279.13,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24195,
    "c": 0.08718,
    "h": 311.6
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#2D0F3D
secondary
#497730
accent
#E4447C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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