#2B083E#2B083E

#2B083E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.098 H 310.3°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2B083E
RGBrgb(43, 8, 62)
HSLhsl(279, 77%, 14%)
HSVhsv(279, 87%, 24%)
CMYKcmyk(30.6%, 87.1%, 0%, 75.7%)
CIE-LABlab(9.28, 27.97, -26.34)
CIE-LCHlch(9.28, 38.42, 316.72°)
OKLaboklab(23.05% 0.0634 -0.0747)
OKLCHoklch(23.05% 0.098 310.3)
XYZxyz(1.9524, 1.0351, 4.6534)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B083E #1B3E08
analogous
#10083E #2B083E #3E0836
triadic
#2B083E #3E2B08 #083E2B
tetradic
#2B083E #3E1008 #1B3E08 #08363E
square
#2B083E #3E1008 #1B3E08 #08363E
split-complementary
#2B083E #363E08 #083E10
monochromatic
#13031B #13031B #2B083E #510F74 #7616AA

Accessibility & contrast

On white

17.40
#2B083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B083E
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B083E#FFFFFF#000000##FFFFFF
##2B083E1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b083e;
/* rgb */ color: rgb(43, 8, 62);
/* oklch */ color: oklch(23.1% 0.098 310.3);
Tailwind
colors: {
  custom: {
    50: '#674c74',
    500: '#2b083e',
    950: '#000000',
  },
}
SCSS
$custom: #2b083e;
$custom-light: #674c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b083e",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 278.889,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23051,
    "c": 0.09792,
    "h": 310.3
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#2B083E
secondary
#447D25
accent
#F43478
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B083E

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

Preview Lab → · Contrast checker → · Palette generator →

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