#251269#251269

#251269 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.139 H 282.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#251269
RGBrgb(37, 18, 105)
HSLhsl(253, 71%, 24%)
HSVhsv(253, 83%, 41%)
CMYKcmyk(64.8%, 82.9%, 0%, 58.8%)
CIE-LABlab(14.66, 34.66, -46.95)
CIE-LCHlch(14.66, 58.36, 306.43°)
OKLaboklab(27.98% 0.0306 -0.1354)
OKLCHoklch(27.98% 0.139 282.7)
XYZxyz(3.5283, 1.8456, 13.5322)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251269 #566912
analogous
#122B69 #251269 #511269
triadic
#251269 #692512 #126925
tetradic
#251269 #69122B #566912 #126951
square
#251269 #69122B #566912 #126951
split-complementary
#251269 #695112 #2B6912
monochromatic
#09041A #130935 #251269 #371B9D #4A24D1

Accessibility & contrast

On white

15.34
#251269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251269
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251269#FFFFFF#000000##FFFFFF
##2512691.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251269;
/* rgb */ color: rgb(37, 18, 105);
/* oklch */ color: oklch(28.0% 0.139 282.7);
Tailwind
colors: {
  custom: {
    50: '#6a5395',
    500: '#251269',
    950: '#000000',
  },
}
SCSS
$custom: #251269;
$custom-light: #6a5395;
$custom-dark: #000000;
JSON
{
  "hex": "#251269",
  "rgb": {
    "r": 37,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 253.103,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27983,
    "c": 0.13883,
    "h": 282.7
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#251269
secondary
#89A136
accent
#ED3AC6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251269

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

Preview Lab → · Contrast checker → · Palette generator →

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