#2B0D3F#2B0D3F

#2B0D3F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.092 H 308.4°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2B0D3F
RGBrgb(43, 13, 63)
HSLhsl(276, 66%, 15%)
HSVhsv(276, 79%, 25%)
CMYKcmyk(31.7%, 79.4%, 0%, 75.3%)
CIE-LABlab(10.26, 25.69, -25.46)
CIE-LCHlch(10.26, 36.17, 315.26°)
OKLaboklab(23.77% 0.0572 -0.0721)
OKLCHoklch(23.77% 0.092 308.4)
XYZxyz(2.0372, 1.1604, 4.8183)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D3F #213F0D
analogous
#120D3F #2B0D3F #3F0D3A
triadic
#2B0D3F #3F2B0D #0D3F2B
tetradic
#2B0D3F #3F120D #213F0D #0D3A3F
square
#2B0D3F #3F120D #213F0D #0D3A3F
split-complementary
#2B0D3F #3A3F0D #0D3F12
monochromatic
#110519 #110519 #2B0D3F #4E1772 #7022A4

Accessibility & contrast

On white

17.05
#2B0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D3F
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D3F#FFFFFF#000000##FFFFFF
##2B0D3F1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#031C3E
Tritanopia (blue-blind)
#281824
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0d3f;
/* rgb */ color: rgb(43, 13, 63);
/* oklch */ color: oklch(23.8% 0.092 308.4);
Tailwind
colors: {
  custom: {
    50: '#674e74',
    500: '#2b0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d3f;
$custom-light: #674e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d3f",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 276,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23774,
    "c": 0.09203,
    "h": 308.4
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#2B0D3F
secondary
#4C7B2D
accent
#E93F83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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