#2B0E41#2B0E41

#2B0E41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.093 H 306.7°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#2B0E41
RGBrgb(43, 14, 65)
HSLhsl(274, 65%, 15%)
HSVhsv(274, 78%, 25%)
CMYKcmyk(33.8%, 78.5%, 0%, 74.5%)
CIE-LABlab(10.63, 25.70, -26.29)
CIE-LCHlch(10.63, 36.76, 314.34°)
OKLaboklab(24.09% 0.0556 -0.0746)
OKLCHoklch(24.09% 0.093 306.7)
XYZxyz(2.1072, 1.2093, 5.1224)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E41 #24410E
analogous
#120E41 #2B0E41 #410E3D
triadic
#2B0E41 #412B0E #0E412B
tetradic
#2B0E41 #41120E #24410E #0E3D41
square
#2B0E41 #41120E #24410E #0E3D41
split-complementary
#2B0E41 #3D410E #0E4112
monochromatic
#110519 #110519 #2B0E41 #4C1973 #6E24A6

Accessibility & contrast

On white

16.91
#2B0E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2B0E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E41
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E41#FFFFFF#000000##FFFFFF
##2B0E411.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#021D40
Tritanopia (blue-blind)
#271926
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0e41;
/* rgb */ color: rgb(43, 14, 65);
/* oklch */ color: oklch(24.1% 0.093 306.7);
Tailwind
colors: {
  custom: {
    50: '#674f76',
    500: '#2b0e41',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e41;
$custom-light: #674f76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e41",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 274.118,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24088,
    "c": 0.09301,
    "h": 306.7
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#2B0E41
secondary
#507C2F
accent
#E84088
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B0E41

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

Preview Lab → · Contrast checker → · Palette generator →

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