#2B0F49#2B0F49

#2B0F49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.102 H 301.3°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#2B0F49
RGBrgb(43, 15, 73)
HSLhsl(269, 66%, 17%)
HSVhsv(269, 79%, 29%)
CMYKcmyk(41.1%, 79.5%, 0%, 71.4%)
CIE-LABlab(11.53, 27.41, -30.44)
CIE-LCHlch(11.53, 40.97, 312.00°)
OKLaboklab(24.95% 0.0528 -0.0868)
OKLCHoklch(24.95% 0.102 301.3)
XYZxyz(2.3694, 1.3363, 6.4351)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F49 #2D490F
analogous
#0F1049 #2B0F49 #480F49
triadic
#2B0F49 #492B0F #0F492B
tetradic
#2B0F49 #490F10 #2D490F #0F4948
square
#2B0F49 #490F10 #2D490F #0F4948
split-complementary
#2B0F49 #49480F #10490F
monochromatic
#0F0519 #0F0519 #2B0F49 #49197C #6724AF

Accessibility & contrast

On white

16.57
#2B0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2B0F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F49
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F49#FFFFFF#000000##FFFFFF
##2B0F491.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#241D2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b0f49;
/* rgb */ color: rgb(43, 15, 73);
/* oklch */ color: oklch(25.0% 0.102 301.3);
Tailwind
colors: {
  custom: {
    50: '#68507c',
    500: '#2b0f49',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f49;
$custom-light: #68507c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f49",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 268.966,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24951,
    "c": 0.10161,
    "h": 301.3
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#2B0F49
secondary
#5B8330
accent
#E93F97
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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