#2B0F48#2B0F48

#2B0F48 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.100 H 301.9°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#2B0F48
RGBrgb(43, 15, 72)
HSLhsl(269, 66%, 17%)
HSVhsv(269, 79%, 28%)
CMYKcmyk(40.3%, 79.2%, 0%, 71.8%)
CIE-LABlab(11.44, 27.12, -29.90)
CIE-LCHlch(11.44, 40.37, 312.22°)
OKLaboklab(24.86% 0.053 -0.0852)
OKLCHoklch(24.86% 0.1 301.9)
XYZxyz(2.3365, 1.3231, 6.2619)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F48 #2C480F
analogous
#0F0F48 #2B0F48 #480F48
triadic
#2B0F48 #482B0F #0F482B
tetradic
#2B0F48 #480F0F #2C480F #0F4848
square
#2B0F48 #480F0F #2C480F #0F4848
split-complementary
#2B0F48 #48480F #0F480F
monochromatic
#0F0519 #0F0519 #2B0F48 #491A7B #6724AD

Accessibility & contrast

On white

16.61
#2B0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F48
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F48#FFFFFF#000000##FFFFFF
##2B0F481.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#251D2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b0f48;
/* rgb */ color: rgb(43, 15, 72);
/* oklch */ color: oklch(24.9% 0.100 301.9);
Tailwind
colors: {
  custom: {
    50: '#68507b',
    500: '#2b0f48',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f48;
$custom-light: #68507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f48",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 269.474,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24858,
    "c": 0.10034,
    "h": 301.9
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#2B0F48
secondary
#5A8230
accent
#E83F95
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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