#2B093E#2B093E

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

Color values

HEX#2B093E
RGBrgb(43, 9, 62)
HSLhsl(278, 75%, 14%)
HSVhsv(278, 85%, 24%)
CMYKcmyk(30.6%, 85.5%, 0%, 75.7%)
CIE-LABlab(9.46, 27.47, -26.05)
CIE-LCHlch(9.46, 37.86, 316.51°)
OKLaboklab(23.18% 0.0622 -0.0738)
OKLCHoklch(23.18% 0.097 310.1)
XYZxyz(1.9633, 1.0568, 4.6571)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B093E #1C3E09
analogous
#11093E #2B093E #3E0937
triadic
#2B093E #3E2B09 #093E2B
tetradic
#2B093E #3E1109 #1C3E09 #09373E
square
#2B093E #3E1109 #1C3E09 #09373E
split-complementary
#2B093E #373E09 #093E11
monochromatic
#13041B #13041B #2B093E #501173 #7519A9

Accessibility & contrast

On white

17.34
#2B093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B093E
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B093E#FFFFFF#000000##FFFFFF
##2B093E1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b093e;
/* rgb */ color: rgb(43, 9, 62);
/* oklch */ color: oklch(23.2% 0.097 310.1);
Tailwind
colors: {
  custom: {
    50: '#674c74',
    500: '#2b093e',
    950: '#000000',
  },
}
SCSS
$custom: #2b093e;
$custom-light: #674c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b093e",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 278.491,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23175,
    "c": 0.09652,
    "h": 310.1
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#2B093E
secondary
#457C27
accent
#F13779
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B093E

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

Preview Lab → · Contrast checker → · Palette generator →

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