#2B0F44#2B0F44

#2B0F44 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.095 H 304.4°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2B0F44
RGBrgb(43, 15, 68)
HSLhsl(272, 64%, 16%)
HSVhsv(272, 78%, 27%)
CMYKcmyk(36.8%, 77.9%, 0%, 73.3%)
CIE-LABlab(11.08, 25.98, -27.67)
CIE-LCHlch(11.08, 37.95, 313.20°)
OKLaboklab(24.5% 0.0538 -0.0786)
OKLCHoklch(24.5% 0.095 304.4)
XYZxyz(2.2102, 1.2726, 5.5969)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F44 #28440F
analogous
#110F44 #2B0F44 #440F43
triadic
#2B0F44 #442B0F #0F442B
tetradic
#2B0F44 #44110F #28440F #0F4344
square
#2B0F44 #44110F #28440F #0F4344
split-complementary
#2B0F44 #43440F #0F4411
monochromatic
#100619 #100619 #2B0F44 #4B1A76 #6A25A8

Accessibility & contrast

On white

16.74
#2B0F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F44
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F44#FFFFFF#000000##FFFFFF
##2B0F441.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#261B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b0f44;
/* rgb */ color: rgb(43, 15, 68);
/* oklch */ color: oklch(24.5% 0.095 304.4);
Tailwind
colors: {
  custom: {
    50: '#675078',
    500: '#2b0f44',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f44;
$custom-light: #675078;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f44",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 271.698,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24495,
    "c": 0.09528,
    "h": 304.4
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#2B0F44
secondary
#557E30
accent
#E7418F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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