#2B093F#2B093F

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

Color values

HEX#2B093F
RGBrgb(43, 9, 63)
HSLhsl(278, 75%, 14%)
HSVhsv(278, 86%, 25%)
CMYKcmyk(31.7%, 85.7%, 0%, 75.3%)
CIE-LABlab(9.54, 27.72, -26.62)
CIE-LCHlch(9.54, 38.44, 316.16°)
OKLaboklab(23.27% 0.0619 -0.0755)
OKLCHoklch(23.27% 0.098 309.4)
XYZxyz(1.9910, 1.0679, 4.8029)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B093F #1D3F09
analogous
#10093F #2B093F #3F0938
triadic
#2B093F #3F2B09 #093F2B
tetradic
#2B093F #3F1009 #1D3F09 #09383F
square
#2B093F #3F1009 #1D3F09 #09383F
split-complementary
#2B093F #383F09 #093F10
monochromatic
#12041B #12041B #2B093F #501175 #7418AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B093F#FFFFFF#000000##FFFFFF
##2B093F1.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)
#001941
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#281623
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b093f;
/* rgb */ color: rgb(43, 9, 63);
/* oklch */ color: oklch(23.3% 0.098 309.4);
Tailwind
colors: {
  custom: {
    50: '#674c74',
    500: '#2b093f',
    950: '#000000',
  },
}
SCSS
$custom: #2b093f;
$custom-light: #674c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b093f",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 277.778,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23266,
    "c": 0.09767,
    "h": 309.4
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#2B093F
secondary
#477D27
accent
#F2367C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B093F

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

Preview Lab → · Contrast checker → · Palette generator →

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