#2B0F41#2B0F41

#2B0F41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.091 H 306.4°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#2B0F41
RGBrgb(43, 15, 65)
HSLhsl(274, 63%, 16%)
HSVhsv(274, 77%, 25%)
CMYKcmyk(33.8%, 76.9%, 0%, 74.5%)
CIE-LABlab(10.83, 25.14, -25.97)
CIE-LCHlch(10.83, 36.14, 314.07°)
OKLaboklab(24.23% 0.0543 -0.0736)
OKLCHoklch(24.23% 0.091 306.4)
XYZxyz(2.1210, 1.2369, 5.1270)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F41 #25410F
analogous
#120F41 #2B0F41 #410F3E
triadic
#2B0F41 #412B0F #0F412B
tetradic
#2B0F41 #41120F #25410F #0F3E41
square
#2B0F41 #41120F #25410F #0F3E41
split-complementary
#2B0F41 #3E410F #0F4112
monochromatic
#100619 #100619 #2B0F41 #4C1A73 #6D26A4

Accessibility & contrast

On white

16.84
#2B0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F41
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F41#FFFFFF#000000##FFFFFF
##2B0F411.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#031D40
Tritanopia (blue-blind)
#271A26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0f41;
/* rgb */ color: rgb(43, 15, 65);
/* oklch */ color: oklch(24.2% 0.091 306.4);
Tailwind
colors: {
  custom: {
    50: '#675076',
    500: '#2b0f41',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f41;
$custom-light: #675076;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f41",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 273.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24231,
    "c": 0.09147,
    "h": 306.4
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#2B0F41
secondary
#517B30
accent
#E6428A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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