#2F103E#2F103E

#2F103E is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.088 H 312.8°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#2F103E
RGBrgb(47, 16, 62)
HSLhsl(280, 59%, 15%)
HSVhsv(280, 74%, 24%)
CMYKcmyk(24.2%, 74.2%, 0%, 75.7%)
CIE-LABlab(11.43, 24.82, -22.83)
CIE-LCHlch(11.43, 33.73, 317.39°)
OKLaboklab(24.73% 0.0595 -0.0643)
OKLCHoklch(24.73% 0.088 312.8)
XYZxyz(2.2269, 1.3228, 4.6945)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F103E #1F3E10
analogous
#18103E #2F103E #3E1036
triadic
#2F103E #3E2F10 #103E2F
tetradic
#2F103E #3E1810 #1F3E10 #10363E
square
#2F103E #3E1810 #1F3E10 #10363E
split-complementary
#2F103E #363E10 #103E18
monochromatic
#120618 #120618 #2F103E #541D6F #79299F

Accessibility & contrast

On white

16.61
#2F103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F103E
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F103E#FFFFFF#000000##FFFFFF
##2F103E1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#0D1F3D
Tritanopia (blue-blind)
#2D1925
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f103e;
/* rgb */ color: rgb(47, 16, 62);
/* oklch */ color: oklch(24.7% 0.088 312.8);
Tailwind
colors: {
  custom: {
    50: '#695173',
    500: '#2f103e',
    950: '#000000',
  },
}
SCSS
$custom: #2f103e;
$custom-light: #695173;
$custom-dark: #000000;
JSON
{
  "hex": "#2f103e",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 280.435,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24728,
    "c": 0.08761,
    "h": 312.8
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#2F103E
secondary
#497832
accent
#E24679
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F103E

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

Preview Lab → · Contrast checker → · Palette generator →

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