#251352#251352

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

Color values

HEX#251352
RGBrgb(37, 19, 82)
HSLhsl(257, 62%, 20%)
HSVhsv(257, 77%, 32%)
CMYKcmyk(54.9%, 76.8%, 0%, 67.8%)
CIE-LABlab(12.40, 26.63, -35.25)
CIE-LCHlch(12.40, 44.18, 307.07°)
OKLaboklab(25.66% 0.0363 -0.1012)
OKLCHoklch(25.66% 0.107 289.7)
XYZxyz(2.5184, 1.4681, 8.1317)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251352 #405213
analogous
#132152 #251352 #451352
triadic
#251352 #522513 #135225
tetradic
#251352 #521321 #405213 #135245
square
#251352 #521321 #405213 #135245
split-complementary
#251352 #524513 #215213
monochromatic
#0B0619 #0F0720 #251352 #3B1F84 #522AB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##251352#FFFFFF#000000##FFFFFF
##2513521.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)
#002254
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#152331
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #251352;
/* rgb */ color: rgb(37, 19, 82);
/* oklch */ color: oklch(25.7% 0.107 289.7);
Tailwind
colors: {
  custom: {
    50: '#655283',
    500: '#251352',
    950: '#000000',
  },
}
SCSS
$custom: #251352;
$custom-light: #655283;
$custom-dark: #000000;
JSON
{
  "hex": "#251352",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 257.143,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25657,
    "c": 0.10749,
    "h": 289.7
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#251352
secondary
#728A36
accent
#E542B7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #251352

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

Preview Lab → · Contrast checker → · Palette generator →

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