#2A0B3F#2A0B3F

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

Color values

HEX#2A0B3F
RGBrgb(42, 11, 63)
HSLhsl(276, 70%, 15%)
HSVhsv(276, 83%, 25%)
CMYKcmyk(33.3%, 82.5%, 0%, 75.3%)
CIE-LABlab(9.72, 26.50, -26.34)
CIE-LCHlch(9.72, 37.37, 315.17°)
OKLaboklab(23.36% 0.058 -0.0747)
OKLCHoklch(23.36% 0.095 307.8)
XYZxyz(1.9715, 1.0905, 4.8083)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B3F #203F0B
analogous
#100B3F #2A0B3F #3F0B3A
triadic
#2A0B3F #3F2A0B #0B3F2A
tetradic
#2A0B3F #3F100B #203F0B #0B3A3F
square
#2A0B3F #3F100B #203F0B #0B3A3F
split-complementary
#2A0B3F #3A3F0B #0B3F10
monochromatic
#11051A #11051A #2A0B3F #4D1473 #6F1DA7

Accessibility & contrast

On white

17.24
#2A0B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B3F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B3F#FFFFFF#000000##FFFFFF
##2A0B3F1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#271724
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0b3f;
/* rgb */ color: rgb(42, 11, 63);
/* oklch */ color: oklch(23.4% 0.095 307.8);
Tailwind
colors: {
  custom: {
    50: '#664d74',
    500: '#2a0b3f',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b3f;
$custom-light: #664d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b3f",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 275.769,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23357,
    "c": 0.09461,
    "h": 307.8
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#2A0B3F
secondary
#4B7C2A
accent
#ED3B83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A0B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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