#251145#251145

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

Color values

HEX#251145
RGBrgb(37, 17, 69)
HSLhsl(263, 60%, 17%)
HSVhsv(263, 75%, 27%)
CMYKcmyk(46.4%, 75.4%, 0%, 72.9%)
CIE-LABlab(10.73, 23.67, -28.98)
CIE-LCHlch(10.73, 37.42, 309.24°)
OKLaboklab(24.08% 0.0411 -0.0827)
OKLCHoklch(24.08% 0.092 296.4)
XYZxyz(2.0373, 1.2238, 5.7580)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251145 #314511
analogous
#111745 #251145 #3F1145
triadic
#251145 #452511 #114525
tetradic
#251145 #451117 #314511 #11453F
square
#251145 #451117 #314511 #11453F
split-complementary
#251145 #453F11 #174511
monochromatic
#0D0619 #0D0619 #251145 #3F1D76 #5A29A7

Accessibility & contrast

On white

16.87
#251145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#251145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251145
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251145#FFFFFF#000000##FFFFFF
##2511451.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#1D1D29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #251145;
/* rgb */ color: rgb(37, 17, 69);
/* oklch */ color: oklch(24.1% 0.092 296.4);
Tailwind
colors: {
  custom: {
    50: '#635079',
    500: '#251145',
    950: '#000000',
  },
}
SCSS
$custom: #251145;
$custom-light: #635079;
$custom-dark: #000000;
JSON
{
  "hex": "#251145",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 263.077,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2408,
    "c": 0.09241,
    "h": 296.4
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#251145
secondary
#627F33
accent
#E444A6
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #251145

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

Preview Lab → · Contrast checker → · Palette generator →

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