#251055#251055

#251055 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.115 H 289.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#251055
RGBrgb(37, 16, 85)
HSLhsl(258, 68%, 20%)
HSVhsv(258, 81%, 33%)
CMYKcmyk(56.5%, 81.2%, 0%, 66.7%)
CIE-LABlab(12.09, 29.34, -37.81)
CIE-LCHlch(12.09, 47.86, 307.81°)
OKLaboklab(25.53% 0.0384 -0.1087)
OKLCHoklch(25.53% 0.115 289.5)
XYZxyz(2.5875, 1.4197, 8.7303)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251055 #405510
analogous
#101D55 #251055 #481055
triadic
#251055 #552510 #105525
tetradic
#251055 #55101D #405510 #105548
square
#251055 #55101D #405510 #105548
split-complementary
#251055 #554810 #1D5510
monochromatic
#0B051A #0F0621 #251055 #3B1A89 #5223BC

Accessibility & contrast

On white

16.36
#251055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#251055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251055
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251055#FFFFFF#000000##FFFFFF
##2510551.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#132331
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #251055;
/* rgb */ color: rgb(37, 16, 85);
/* oklch */ color: oklch(25.5% 0.115 289.5);
Tailwind
colors: {
  custom: {
    50: '#665186',
    500: '#251055',
    950: '#000000',
  },
}
SCSS
$custom: #251055;
$custom-light: #665186;
$custom-dark: #000000;
JSON
{
  "hex": "#251055",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 258.261,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25527,
    "c": 0.11528,
    "h": 289.5
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#251055
secondary
#728F32
accent
#EB3DB6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #251055

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

Preview Lab → · Contrast checker → · Palette generator →

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