#251150#251150

#251150 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.107 H 291.2°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#251150
RGBrgb(37, 17, 80)
HSLhsl(259, 65%, 19%)
HSVhsv(259, 79%, 31%)
CMYKcmyk(53.7%, 78.8%, 0%, 68.6%)
CIE-LABlab(11.78, 27.18, -34.90)
CIE-LCHlch(11.78, 44.24, 307.90°)
OKLaboklab(25.15% 0.0388 -0.1001)
OKLCHoklch(25.15% 0.107 291.2)
XYZxyz(2.4110, 1.3733, 7.7259)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251150 #3C5011
analogous
#111D50 #251150 #451150
triadic
#251150 #502511 #115025
tetradic
#251150 #50111D #3C5011 #115045
square
#251150 #50111D #3C5011 #115045
split-complementary
#251150 #504511 #1D5011
monochromatic
#0C0519 #0E061E #251150 #3C1C82 #5426B5

Accessibility & contrast

On white

16.48
#251150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251150
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251150#FFFFFF#000000##FFFFFF
##2511501.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#17222F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #251150;
/* rgb */ color: rgb(37, 17, 80);
/* oklch */ color: oklch(25.2% 0.107 291.2);
Tailwind
colors: {
  custom: {
    50: '#655182',
    500: '#251150',
    950: '#000000',
  },
}
SCSS
$custom: #251150;
$custom-light: #655182;
$custom-dark: #000000;
JSON
{
  "hex": "#251150",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 259.048,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25152,
    "c": 0.10741,
    "h": 291.2
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#251150
secondary
#6E8933
accent
#E840B3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #251150

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

Preview Lab → · Contrast checker → · Palette generator →

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