#2F193D#2F193D

#2F193D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.070 H 310.7°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#2F193D
RGBrgb(47, 25, 61)
HSLhsl(277, 42%, 17%)
HSVhsv(277, 59%, 24%)
CMYKcmyk(23%, 59%, 0%, 76.1%)
CIE-LABlab(13.45, 18.97, -18.91)
CIE-LCHlch(13.45, 26.78, 315.09°)
OKLaboklab(26.18% 0.0454 -0.0529)
OKLCHoklch(26.18% 0.07 310.7)
XYZxyz(2.3621, 1.6366, 4.6054)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F193D #273D19
analogous
#1D193D #2F193D #3D1939
triadic
#2F193D #3D2F19 #193D2F
tetradic
#2F193D #3D1D19 #273D19 #19393D
square
#2F193D #3D1D19 #273D19 #19393D
split-complementary
#2F193D #393D19 #193D1D
monochromatic
#110916 #110916 #2F193D #502B68 #723D94

Accessibility & contrast

On white

15.82
#2F193D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2F193D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F193D
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F193D#FFFFFF#000000##FFFFFF
##2F193D1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10213E
Deuteranopia (green-blind)
#16233C
Tritanopia (blue-blind)
#2D1F28
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2f193d;
/* rgb */ color: rgb(47, 25, 61);
/* oklch */ color: oklch(26.2% 0.070 310.7);
Tailwind
colors: {
  custom: {
    50: '#695672',
    500: '#2f193d',
    950: '#000000',
  },
}
SCSS
$custom: #2f193d;
$custom-light: #695672;
$custom-dark: #000000;
JSON
{
  "hex": "#2f193d",
  "rgb": {
    "r": 47,
    "g": 25,
    "b": 61
  },
  "hsl": {
    "h": 276.667,
    "s": 41.86,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2618,
    "c": 0.06969,
    "h": 310.7
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#2F193D
secondary
#53733F
accent
#D25686
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060308
muted
#7A787B

Preview Lab

Preview with #2F193D

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

Preview Lab → · Contrast checker → · Palette generator →

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