#2B0F46#2B0F46

#2B0F46 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.098 H 303.1°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#2B0F46
RGBrgb(43, 15, 70)
HSLhsl(271, 65%, 17%)
HSVhsv(271, 79%, 27%)
CMYKcmyk(38.6%, 78.6%, 0%, 72.5%)
CIE-LABlab(11.26, 26.55, -28.79)
CIE-LCHlch(11.26, 39.16, 312.68°)
OKLaboklab(24.68% 0.0534 -0.0819)
OKLCHoklch(24.68% 0.098 303.1)
XYZxyz(2.2723, 1.2974, 5.9239)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F46 #2A460F
analogous
#0F0F46 #2B0F46 #460F46
triadic
#2B0F46 #462B0F #0F462B
tetradic
#2B0F46 #460F0F #2A460F #0F4646
square
#2B0F46 #460F0F #2A460F #0F4646
split-complementary
#2B0F46 #46460F #0F460F
monochromatic
#0F0519 #0F0519 #2B0F46 #4A1A78 #6925AB

Accessibility & contrast

On white

16.67
#2B0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F46
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F46#FFFFFF#000000##FFFFFF
##2B0F461.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#261C29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b0f46;
/* rgb */ color: rgb(43, 15, 70);
/* oklch */ color: oklch(24.7% 0.098 303.1);
Tailwind
colors: {
  custom: {
    50: '#67507a',
    500: '#2b0f46',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f46;
$custom-light: #67507a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f46",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 270.545,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24675,
    "c": 0.09782,
    "h": 303.1
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#2B0F46
secondary
#588030
accent
#E84092
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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