#2B0741#2B0741

#2B0741 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.2% C 0.103 H 308.4°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2B0741
RGBrgb(43, 7, 65)
HSLhsl(277, 81%, 14%)
HSVhsv(277, 89%, 25%)
CMYKcmyk(33.8%, 89.2%, 0%, 74.5%)
CIE-LABlab(9.38, 29.25, -28.32)
CIE-LCHlch(9.38, 40.71, 315.93°)
OKLaboklab(23.21% 0.0637 -0.0805)
OKLCHoklch(23.21% 0.103 308.4)
XYZxyz(2.0262, 1.0472, 5.0954)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0741 #1D4107
analogous
#0E0741 #2B0741 #41073A
triadic
#2B0741 #412B07 #07412B
tetradic
#2B0741 #410E07 #1D4107 #073A41
square
#2B0741 #410E07 #1D4107 #073A41
split-complementary
#2B0741 #3A4107 #07410E
monochromatic
#12031C #12031C #2B0741 #500D78 #7413B0

Accessibility & contrast

On white

17.36
#2B0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0741
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0741#FFFFFF#000000##FFFFFF
##2B07411.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#271624
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0741;
/* rgb */ color: rgb(43, 7, 65);
/* oklch */ color: oklch(23.2% 0.103 308.4);
Tailwind
colors: {
  custom: {
    50: '#684b76',
    500: '#2b0741',
    950: '#000000',
  },
}
SCSS
$custom: #2b0741;
$custom-light: #684b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0741",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 277.241,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23206,
    "c": 0.10266,
    "h": 308.4
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#2B0741
secondary
#478024
accent
#F7317C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0741

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

Preview Lab → · Contrast checker → · Palette generator →

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