#2B0D45#2B0D45

#2B0D45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.099 H 304.3°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#2B0D45
RGBrgb(43, 13, 69)
HSLhsl(272, 68%, 16%)
HSVhsv(272, 81%, 27%)
CMYKcmyk(37.7%, 81.2%, 0%, 72.9%)
CIE-LABlab(10.78, 27.35, -28.86)
CIE-LCHlch(10.78, 39.75, 313.46°)
OKLaboklab(24.31% 0.056 -0.0821)
OKLCHoklch(24.31% 0.099 304.3)
XYZxyz(2.2141, 1.2311, 5.7501)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D45 #27450D
analogous
#0F0D45 #2B0D45 #450D43
triadic
#2B0D45 #452B0D #0D452B
tetradic
#2B0D45 #450F0D #27450D #0D4345
square
#2B0D45 #450F0D #27450D #0D4345
split-complementary
#2B0D45 #43450D #0D450F
monochromatic
#10051A #10051A #2B0D45 #4B1778 #6B20AC

Accessibility & contrast

On white

16.85
#2B0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D45
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D45#FFFFFF#000000##FFFFFF
##2B0D451.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#261A28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0d45;
/* rgb */ color: rgb(43, 13, 69);
/* oklch */ color: oklch(24.3% 0.099 304.3);
Tailwind
colors: {
  custom: {
    50: '#674f79',
    500: '#2b0d45',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d45;
$custom-light: #674f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d45",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 272.143,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24311,
    "c": 0.0994,
    "h": 304.3
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#2B0D45
secondary
#54802D
accent
#EB3D8E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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