#251341#251341

#251341 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.084 H 297.8°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#251341
RGBrgb(37, 19, 65)
HSLhsl(263, 55%, 16%)
HSVhsv(263, 71%, 25%)
CMYKcmyk(43.1%, 70.8%, 0%, 74.5%)
CIE-LABlab(10.85, 21.12, -25.97)
CIE-LCHlch(10.85, 33.47, 309.12°)
OKLaboklab(24.06% 0.039 -0.0739)
OKLCHoklch(24.06% 0.084 297.8)
XYZxyz(1.9497, 1.2407, 5.1368)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251341 #2F4113
analogous
#131841 #251341 #3C1341
triadic
#251341 #412513 #134125
tetradic
#251341 #411318 #2F4113 #13413C
square
#251341 #411318 #2F4113 #13413C
split-complementary
#251341 #413C13 #184113
monochromatic
#0D0718 #0D0718 #251341 #402170 #5B2FA0

Accessibility & contrast

On white

16.82
#251341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#251341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251341
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251341#FFFFFF#000000##FFFFFF
##2513411.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#1E1D27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #251341;
/* rgb */ color: rgb(37, 19, 65);
/* oklch */ color: oklch(24.1% 0.084 297.8);
Tailwind
colors: {
  custom: {
    50: '#625176',
    500: '#251341',
    950: '#000000',
  },
}
SCSS
$custom: #251341;
$custom-light: #625176;
$custom-dark: #000000;
JSON
{
  "hex": "#251341",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 263.478,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24058,
    "c": 0.08354,
    "h": 297.8
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#251341
secondary
#5F7A36
accent
#DE4AA4
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #251341

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

Preview Lab → · Contrast checker → · Palette generator →

#251341 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva