#251368#251368

#251368 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.137 H 282.8°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#251368
RGBrgb(37, 19, 104)
HSLhsl(253, 69%, 24%)
HSVhsv(253, 82%, 41%)
CMYKcmyk(64.4%, 81.7%, 0%, 59.2%)
CIE-LABlab(14.73, 33.81, -46.18)
CIE-LCHlch(14.73, 57.23, 306.21°)
OKLaboklab(28% 0.0303 -0.1332)
OKLCHoklch(28% 0.137 282.8)
XYZxyz(3.4937, 1.8583, 13.2686)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251368 #566813
analogous
#132C68 #251368 #501368
triadic
#251368 #682513 #136825
tetradic
#251368 #68132C #566813 #136850
square
#251368 #68132C #566813 #136850
split-complementary
#251368 #685013 #2C6813
monochromatic
#09051A #130A34 #251368 #371C9C #4A26CF

Accessibility & contrast

On white

15.31
#251368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#251368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251368
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251368#FFFFFF#000000##FFFFFF
##2513681.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #251368;
/* rgb */ color: rgb(37, 19, 104);
/* oklch */ color: oklch(28.0% 0.137 282.8);
Tailwind
colors: {
  custom: {
    50: '#6a5394',
    500: '#251368',
    950: '#000000',
  },
}
SCSS
$custom: #251368;
$custom-light: #6a5394;
$custom-dark: #000000;
JSON
{
  "hex": "#251368",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 252.706,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27998,
    "c": 0.13656,
    "h": 282.8
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#251368
secondary
#899F37
accent
#EC3CC7
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251368

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

Preview Lab → · Contrast checker → · Palette generator →

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