#251052#251052

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

Color values

HEX#251052
RGBrgb(37, 16, 82)
HSLhsl(259, 67%, 19%)
HSVhsv(259, 80%, 32%)
CMYKcmyk(54.9%, 80.5%, 0%, 67.8%)
CIE-LABlab(11.78, 28.39, -36.28)
CIE-LCHlch(11.78, 46.07, 308.04°)
OKLaboklab(25.21% 0.0393 -0.1042)
OKLCHoklch(25.21% 0.111 290.7)
XYZxyz(2.4708, 1.3730, 8.1158)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251052 #3D5210
analogous
#101C52 #251052 #461052
triadic
#251052 #522510 #105225
tetradic
#251052 #52101C #3D5210 #105246
square
#251052 #52101C #3D5210 #105246
split-complementary
#251052 #524610 #1C5210
monochromatic
#0C051A #0E061F #251052 #3C1A85 #5324B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##251052#FFFFFF#000000##FFFFFF
##2510521.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)
#002054
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#152230
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #251052;
/* rgb */ color: rgb(37, 16, 82);
/* oklch */ color: oklch(25.2% 0.111 290.7);
Tailwind
colors: {
  custom: {
    50: '#655083',
    500: '#251052',
    950: '#000000',
  },
}
SCSS
$custom: #251052;
$custom-light: #655083;
$custom-dark: #000000;
JSON
{
  "hex": "#251052",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 259.091,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25213,
    "c": 0.11135,
    "h": 290.7
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#251052
secondary
#6F8C32
accent
#EA3EB3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #251052

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

Preview Lab → · Contrast checker → · Palette generator →

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