#2B0F38#2B0F38

#2B0F38 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.080 H 313.4°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#2B0F38
RGBrgb(43, 15, 56)
HSLhsl(281, 58%, 14%)
HSVhsv(281, 73%, 22%)
CMYKcmyk(23.2%, 73.2%, 0%, 78%)
CIE-LABlab(10.11, 22.68, -20.69)
CIE-LCHlch(10.11, 30.70, 317.63°)
OKLaboklab(23.49% 0.055 -0.0581)
OKLCHoklch(23.49% 0.08 313.4)
XYZxyz(1.8808, 1.1408, 3.8617)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F38 #1C380F
analogous
#170F38 #2B0F38 #380F31
triadic
#2B0F38 #382B0F #0F382B
tetradic
#2B0F38 #38170F #1C380F #0F3138
square
#2B0F38 #38170F #1C380F #0F3138
split-complementary
#2B0F38 #31380F #0F3817
monochromatic
#130618 #130618 #2B0F38 #501C68 #752999

Accessibility & contrast

On white

17.10
#2B0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F38
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F38#FFFFFF#000000##FFFFFF
##2B0F381.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#0D1C37
Tritanopia (blue-blind)
#2A1721
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0f38;
/* rgb */ color: rgb(43, 15, 56);
/* oklch */ color: oklch(23.5% 0.080 313.4);
Tailwind
colors: {
  custom: {
    50: '#664f6f',
    500: '#2b0f38',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f38;
$custom-light: #664f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f38",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 280.976,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2349,
    "c": 0.08004,
    "h": 313.4
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#2B0F38
secondary
#457230
accent
#E14778
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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