#2F243F#2F243F

#2F243F is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.6% C 0.050 H 302.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#2F243F
RGBrgb(47, 36, 63)
HSLhsl(264, 27%, 19%)
HSVhsv(264, 43%, 25%)
CMYKcmyk(25.4%, 42.9%, 0%, 75.3%)
CIE-LABlab(16.63, 11.93, -15.31)
CIE-LCHlch(16.63, 19.42, 307.93°)
OKLaboklab(28.6% 0.0267 -0.0425)
OKLCHoklch(28.6% 0.05 302.1)
XYZxyz(2.7002, 2.2250, 4.9889)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F243F #343F24
analogous
#24273F #2F243F #3D243F
triadic
#2F243F #3F2F24 #243F2F
tetradic
#2F243F #3F2427 #343F24 #243F3D
square
#2F243F #3F2427 #343F24 #243F3D
split-complementary
#2F243F #3F3D24 #273F24
monochromatic
#0F0B13 #120E18 #2F243F #4C3A66 #69518D

Accessibility & contrast

On white

14.53
#2F243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2F243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F243F
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F243F#FFFFFF#000000##FFFFFF
##2F243F1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#2C282E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f243f;
/* rgb */ color: rgb(47, 36, 63);
/* oklch */ color: oklch(28.6% 0.050 302.1);
Tailwind
colors: {
  custom: {
    50: '#685e74',
    500: '#2f243f',
    950: '#000000',
  },
}
SCSS
$custom: #2f243f;
$custom-light: #685e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f243f",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 264.444,
    "s": 27.273,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28601,
    "c": 0.05017,
    "h": 302.1
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#2F243F
secondary
#63724D
accent
#C4649D
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2F243F

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

Preview Lab → · Contrast checker → · Palette generator →

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