#2B0F45#2B0F45

#2B0F45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.097 H 303.7°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#2B0F45
RGBrgb(43, 15, 69)
HSLhsl(271, 64%, 16%)
HSVhsv(271, 78%, 27%)
CMYKcmyk(37.7%, 78.3%, 0%, 72.9%)
CIE-LABlab(11.17, 26.26, -28.23)
CIE-LCHlch(11.17, 38.56, 312.93°)
OKLaboklab(24.58% 0.0536 -0.0803)
OKLCHoklch(24.58% 0.097 303.7)
XYZxyz(2.2410, 1.2849, 5.7590)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F45 #29450F
analogous
#100F45 #2B0F45 #450F44
triadic
#2B0F45 #452B0F #0F452B
tetradic
#2B0F45 #45100F #29450F #0F4445
square
#2B0F45 #45100F #29450F #0F4445
split-complementary
#2B0F45 #44450F #0F4510
monochromatic
#100519 #100519 #2B0F45 #4A1A77 #6A25AA

Accessibility & contrast

On white

16.71
#2B0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F45
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F45#FFFFFF#000000##FFFFFF
##2B0F451.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#261C28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b0f45;
/* rgb */ color: rgb(43, 15, 69);
/* oklch */ color: oklch(24.6% 0.097 303.7);
Tailwind
colors: {
  custom: {
    50: '#675079',
    500: '#2b0f45',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f45;
$custom-light: #675079;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f45",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 271.111,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24584,
    "c": 0.09655,
    "h": 303.7
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#2B0F45
secondary
#567F30
accent
#E74191
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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