#2A0B3D#2A0B3D

#2A0B3D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.092 H 309.3°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2A0B3D
RGBrgb(42, 11, 61)
HSLhsl(277, 69%, 14%)
HSVhsv(277, 82%, 24%)
CMYKcmyk(31.1%, 82%, 0%, 76.1%)
CIE-LABlab(9.55, 25.97, -25.20)
CIE-LCHlch(9.55, 36.18, 315.86°)
OKLaboklab(23.18% 0.0584 -0.0714)
OKLCHoklch(23.18% 0.092 309.3)
XYZxyz(1.9167, 1.0685, 4.5193)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B3D #1E3D0B
analogous
#110B3D #2A0B3D #3D0B37
triadic
#2A0B3D #3D2A0B #0B3D2A
tetradic
#2A0B3D #3D110B #1E3D0B #0B373D
square
#2A0B3D #3D110B #1E3D0B #0B373D
split-complementary
#2A0B3D #373D0B #0B3D11
monochromatic
#12051A #12051A #2A0B3D #4E1471 #711EA5

Accessibility & contrast

On white

17.30
#2A0B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0B3D
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B3D#FFFFFF#000000##FFFFFF
##2A0B3D1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#021B3C
Tritanopia (blue-blind)
#271623
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0b3d;
/* rgb */ color: rgb(42, 11, 61);
/* oklch */ color: oklch(23.2% 0.092 309.3);
Tailwind
colors: {
  custom: {
    50: '#664d73',
    500: '#2a0b3d',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b3d;
$custom-light: #664d73;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b3d",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 277.2,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23179,
    "c": 0.0922,
    "h": 309.3
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#2A0B3D
secondary
#487A2A
accent
#EC3C7F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A0B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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