#2B0D3E#2B0D3E

#2B0D3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.091 H 309.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2B0D3E
RGBrgb(43, 13, 62)
HSLhsl(277, 65%, 15%)
HSVhsv(277, 79%, 24%)
CMYKcmyk(30.6%, 79%, 0%, 75.7%)
CIE-LABlab(10.18, 25.42, -24.89)
CIE-LCHlch(10.18, 35.57, 315.61°)
OKLaboklab(23.69% 0.0573 -0.0704)
OKLCHoklch(23.69% 0.091 309.1)
XYZxyz(2.0095, 1.1493, 4.6725)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D3E #203E0D
analogous
#130D3E #2B0D3E #3E0D39
triadic
#2B0D3E #3E2B0D #0D3E2B
tetradic
#2B0D3E #3E130D #203E0D #0D393E
square
#2B0D3E #3E130D #203E0D #0D393E
split-complementary
#2B0D3E #393E0D #0D3E13
monochromatic
#120519 #120519 #2B0D3E #4E1871 #7122A3

Accessibility & contrast

On white

17.08
#2B0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B0D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D3E
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D3E#FFFFFF#000000##FFFFFF
##2B0D3E1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#041C3D
Tritanopia (blue-blind)
#281824
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0d3e;
/* rgb */ color: rgb(43, 13, 62);
/* oklch */ color: oklch(23.7% 0.091 309.1);
Tailwind
colors: {
  custom: {
    50: '#674e74',
    500: '#2b0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d3e;
$custom-light: #674e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d3e",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 276.735,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23688,
    "c": 0.0908,
    "h": 309.1
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#2B0D3E
secondary
#4B7A2D
accent
#E84081
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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