#2F243E#2F243E

#2F243E is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.5% C 0.049 H 302.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#2F243E
RGBrgb(47, 36, 62)
HSLhsl(265, 27%, 19%)
HSVhsv(265, 42%, 24%)
CMYKcmyk(24.2%, 41.9%, 0%, 75.7%)
CIE-LABlab(16.57, 11.65, -14.70)
CIE-LCHlch(16.57, 18.76, 308.38°)
OKLaboklab(28.54% 0.0264 -0.0407)
OKLCHoklch(28.54% 0.049 302.9)
XYZxyz(2.6725, 2.2139, 4.8430)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F243E #333E24
analogous
#24263E #2F243E #3C243E
triadic
#2F243E #3E2F24 #243E2F
tetradic
#2F243E #3E2426 #333E24 #243E3C
square
#2F243E #3E2426 #333E24 #243E3C
split-complementary
#2F243E #3E3C24 #263E24
monochromatic
#0F0B13 #120E17 #2F243E #4C3A65 #6A518B

Accessibility & contrast

On white

14.56
#2F243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F243E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F243E
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F243E#FFFFFF#000000##FFFFFF
##2F243E1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293F
Deuteranopia (green-blind)
#20293D
Tritanopia (blue-blind)
#2D282E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f243e;
/* rgb */ color: rgb(47, 36, 62);
/* oklch */ color: oklch(28.5% 0.049 302.9);
Tailwind
colors: {
  custom: {
    50: '#685e73',
    500: '#2f243e',
    950: '#000000',
  },
}
SCSS
$custom: #2f243e;
$custom-light: #685e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f243e",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 265.385,
    "s": 26.531,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28541,
    "c": 0.04854,
    "h": 302.9
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#2F243E
secondary
#62714D
accent
#C3659B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2F243E

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

Preview Lab → · Contrast checker → · Palette generator →

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