#251348#251348

#251348 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.094 H 294.1°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#251348
RGBrgb(37, 19, 72)
HSLhsl(260, 58%, 18%)
HSVhsv(260, 74%, 28%)
CMYKcmyk(48.6%, 73.6%, 0%, 71.8%)
CIE-LABlab(11.46, 23.37, -29.89)
CIE-LCHlch(11.46, 37.94, 308.02°)
OKLaboklab(24.69% 0.0382 -0.0854)
OKLCHoklch(24.69% 0.094 294.1)
XYZxyz(2.1652, 1.3269, 6.2717)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251348 #364813
analogous
#131C48 #251348 #3F1348
triadic
#251348 #482513 #134825
tetradic
#251348 #48131C #364813 #13483F
square
#251348 #48131C #364813 #13483F
split-complementary
#251348 #483F13 #1C4813
monochromatic
#0C0618 #0C0618 #251348 #3E2078 #572DA9

Accessibility & contrast

On white

16.60
#251348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#251348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251348
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251348#FFFFFF#000000##FFFFFF
##2513481.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#1B202B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #251348;
/* rgb */ color: rgb(37, 19, 72);
/* oklch */ color: oklch(24.7% 0.094 294.1);
Tailwind
colors: {
  custom: {
    50: '#63527b',
    500: '#251348',
    950: '#000000',
  },
}
SCSS
$custom: #251348;
$custom-light: #63527b;
$custom-dark: #000000;
JSON
{
  "hex": "#251348",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 260.377,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2469,
    "c": 0.09357,
    "h": 294.1
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#251348
secondary
#678136
accent
#E146AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #251348

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

Preview Lab → · Contrast checker → · Palette generator →

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