#251058#251058

#251058 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.119 H 288.4°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#251058
RGBrgb(37, 16, 88)
HSLhsl(258, 69%, 20%)
HSVhsv(258, 82%, 35%)
CMYKcmyk(58%, 81.8%, 0%, 65.5%)
CIE-LABlab(12.41, 30.30, -39.33)
CIE-LCHlch(12.41, 49.65, 307.61°)
OKLaboklab(25.85% 0.0375 -0.1131)
OKLCHoklch(25.85% 0.119 288.4)
XYZxyz(2.7092, 1.4683, 9.3713)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251058 #435810
analogous
#101F58 #251058 #491058
triadic
#251058 #582510 #105825
tetradic
#251058 #58101F #435810 #105849
square
#251058 #58101F #435810 #105849
split-complementary
#251058 #584910 #1F5810
monochromatic
#0B051A #0F0724 #251058 #3B198C #5123C0

Accessibility & contrast

On white

16.23
#251058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#251058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251058
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251058#FFFFFF#000000##FFFFFF
##2510581.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#102433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #251058;
/* rgb */ color: rgb(37, 16, 88);
/* oklch */ color: oklch(25.8% 0.119 288.4);
Tailwind
colors: {
  custom: {
    50: '#665188',
    500: '#251058',
    950: '#000000',
  },
}
SCSS
$custom: #251058;
$custom-light: #665188;
$custom-dark: #000000;
JSON
{
  "hex": "#251058",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 257.5,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25846,
    "c": 0.11918,
    "h": 288.4
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#251058
secondary
#769132
accent
#EC3CB9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #251058

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

Preview Lab → · Contrast checker → · Palette generator →

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