#2B0F43#2B0F43

#2B0F43 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.094 H 305.0°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#2B0F43
RGBrgb(43, 15, 67)
HSLhsl(272, 63%, 16%)
HSVhsv(272, 78%, 26%)
CMYKcmyk(35.8%, 77.6%, 0%, 73.7%)
CIE-LABlab(11.00, 25.70, -27.11)
CIE-LCHlch(11.00, 37.35, 313.47°)
OKLaboklab(24.41% 0.054 -0.077)
OKLCHoklch(24.41% 0.094 305)
XYZxyz(2.1800, 1.2605, 5.4376)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F43 #27430F
analogous
#110F43 #2B0F43 #430F41
triadic
#2B0F43 #432B0F #0F432B
tetradic
#2B0F43 #43110F #27430F #0F4143
square
#2B0F43 #43110F #27430F #0F4143
split-complementary
#2B0F43 #41430F #0F4311
monochromatic
#100619 #100619 #2B0F43 #4B1A75 #6B25A7

Accessibility & contrast

On white

16.77
#2B0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F43
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F43#FFFFFF#000000##FFFFFF
##2B0F431.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#011E42
Tritanopia (blue-blind)
#271B27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0f43;
/* rgb */ color: rgb(43, 15, 67);
/* oklch */ color: oklch(24.4% 0.094 305.0);
Tailwind
colors: {
  custom: {
    50: '#675077',
    500: '#2b0f43',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f43;
$custom-light: #675077;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f43",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 272.308,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24406,
    "c": 0.09401,
    "h": 305
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#2B0F43
secondary
#547D30
accent
#E6418E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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