#2B0D4E#2B0D4E

#2B0D4E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.110 H 299.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2B0D4E
RGBrgb(43, 13, 78)
HSLhsl(268, 71%, 18%)
HSVhsv(268, 83%, 31%)
CMYKcmyk(44.9%, 83.3%, 0%, 69.4%)
CIE-LABlab(11.63, 29.90, -33.74)
CIE-LCHlch(11.63, 45.08, 311.54°)
OKLaboklab(25.17% 0.0537 -0.0965)
OKLCHoklch(25.17% 0.11 299.1)
XYZxyz(2.5150, 1.3515, 7.3346)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D4E #304E0D
analogous
#0D104E #2B0D4E #4B0D4E
triadic
#2B0D4E #4E2B0D #0D4E2B
tetradic
#2B0D4E #4E0D10 #304E0D #0D4E4B
square
#2B0D4E #4E0D10 #304E0D #0D4E4B
split-complementary
#2B0D4E #4E4B0D #104E0D
monochromatic
#0E041A #0E041A #2B0D4E #481682 #651EB7

Accessibility & contrast

On white

16.53
#2B0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2B0D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D4E
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D4E#FFFFFF#000000##FFFFFF
##2B0D4E1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#231E2D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b0d4e;
/* rgb */ color: rgb(43, 13, 78);
/* oklch */ color: oklch(25.2% 0.110 299.1);
Tailwind
colors: {
  custom: {
    50: '#694f80',
    500: '#2b0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d4e;
$custom-light: #694f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d4e",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 267.692,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25171,
    "c": 0.1104,
    "h": 299.1
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#2B0D4E
secondary
#5F892E
accent
#EE3A9B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2B0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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