#2B0A3E#2B0A3E

#2B0A3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.095 H 309.9°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#2B0A3E
RGBrgb(43, 10, 62)
HSLhsl(278, 72%, 14%)
HSVhsv(278, 84%, 24%)
CMYKcmyk(30.6%, 83.9%, 0%, 75.7%)
CIE-LABlab(9.63, 26.97, -25.77)
CIE-LCHlch(9.63, 37.31, 316.30°)
OKLaboklab(23.3% 0.061 -0.073)
OKLCHoklch(23.3% 0.095 309.9)
XYZxyz(1.9741, 1.0785, 4.6607)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A3E #1D3E0A
analogous
#110A3E #2B0A3E #3E0A37
triadic
#2B0A3E #3E2B0A #0A3E2B
tetradic
#2B0A3E #3E110A #1D3E0A #0A373E
square
#2B0A3E #3E110A #1D3E0A #0A373E
split-complementary
#2B0A3E #373E0A #0A3E11
monochromatic
#12041A #12041A #2B0A3E #501373 #741BA7

Accessibility & contrast

On white

17.28
#2B0A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0A3E
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A3E#FFFFFF#000000##FFFFFF
##2B0A3E1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#021B3D
Tritanopia (blue-blind)
#281623
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0a3e;
/* rgb */ color: rgb(43, 10, 62);
/* oklch */ color: oklch(23.3% 0.095 309.9);
Tailwind
colors: {
  custom: {
    50: '#674d74',
    500: '#2b0a3e',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a3e;
$custom-light: #674d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a3e",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 278.077,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23298,
    "c": 0.09514,
    "h": 309.9
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#2B0A3E
secondary
#477B28
accent
#EF397B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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