#2B0A45#2B0A45

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

Color values

HEX#2B0A45
RGBrgb(43, 10, 69)
HSLhsl(274, 75%, 15%)
HSVhsv(274, 86%, 27%)
CMYKcmyk(37.7%, 85.5%, 0%, 72.9%)
CIE-LABlab(10.26, 28.84, -29.71)
CIE-LCHlch(10.26, 41.40, 314.15°)
OKLaboklab(23.94% 0.0593 -0.0846)
OKLCHoklch(23.94% 0.103 305)
XYZxyz(2.1787, 1.1604, 5.7383)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A45 #24450A
analogous
#0D0A45 #2B0A45 #450A41
triadic
#2B0A45 #452B0A #0A452B
tetradic
#2B0A45 #450D0A #24450A #0A4145
square
#2B0A45 #450D0A #24450A #0A4145
split-complementary
#2B0A45 #41450A #0A450D
monochromatic
#11041B #11041B #2B0A45 #4C127A #6E19B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B0A45#FFFFFF#000000##FFFFFF
##2B0A451.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)
#001B47
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#261927
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0a45;
/* rgb */ color: rgb(43, 10, 69);
/* oklch */ color: oklch(23.9% 0.103 305.0);
Tailwind
colors: {
  custom: {
    50: '#684d79',
    500: '#2b0a45',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a45;
$custom-light: #684d79;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a45",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 273.559,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23942,
    "c": 0.10332,
    "h": 305
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#2B0A45
secondary
#508229
accent
#F13689
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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