#2B103E#2B103E

#2B103E is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.086 H 308.2°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#2B103E
RGBrgb(43, 16, 62)
HSLhsl(275, 59%, 15%)
HSVhsv(275, 74%, 24%)
CMYKcmyk(30.6%, 74.2%, 0%, 75.7%)
CIE-LABlab(10.79, 23.72, -23.90)
CIE-LCHlch(10.79, 33.67, 314.79°)
OKLaboklab(24.13% 0.0532 -0.0676)
OKLCHoklch(24.13% 0.086 308.2)
XYZxyz(2.0509, 1.2320, 4.6863)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B103E #233E10
analogous
#14103E #2B103E #3E103A
triadic
#2B103E #3E2B10 #103E2B
tetradic
#2B103E #3E1410 #233E10 #103A3E
square
#2B103E #3E1410 #233E10 #103A3E
split-complementary
#2B103E #3A3E10 #103E14
monochromatic
#110618 #110618 #2B103E #4D1D6F #6E299F

Accessibility & contrast

On white

16.85
#2B103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2B103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B103E
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B103E#FFFFFF#000000##FFFFFF
##2B103E1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#081D3D
Tritanopia (blue-blind)
#281A25
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b103e;
/* rgb */ color: rgb(43, 16, 62);
/* oklch */ color: oklch(24.1% 0.086 308.2);
Tailwind
colors: {
  custom: {
    50: '#665073',
    500: '#2b103e',
    950: '#000000',
  },
}
SCSS
$custom: #2b103e;
$custom-light: #665073;
$custom-dark: #000000;
JSON
{
  "hex": "#2b103e",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 275.217,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24128,
    "c": 0.08601,
    "h": 308.2
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#2B103E
secondary
#4F7832
accent
#E24686
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B103E

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

Preview Lab → · Contrast checker → · Palette generator →

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