#250F56#250F56

#250F56 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.118 H 289.4°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#250F56
RGBrgb(37, 15, 86)
HSLhsl(259, 70%, 20%)
HSVhsv(259, 83%, 34%)
CMYKcmyk(57%, 82.6%, 0%, 66.3%)
CIE-LABlab(12.00, 30.21, -38.63)
CIE-LCHlch(12.00, 49.04, 308.02°)
OKLaboklab(25.5% 0.039 -0.1111)
OKLCHoklch(25.5% 0.118 289.4)
XYZxyz(2.6130, 1.4067, 8.9361)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F56 #40560F
analogous
#0F1C56 #250F56 #490F56
triadic
#250F56 #56250F #0F5625
tetradic
#250F56 #560F1C #40560F #0F5649
square
#250F56 #560F1C #40560F #0F5649
split-complementary
#250F56 #56490F #1C560F
monochromatic
#0B051A #0F0622 #250F56 #3B188A #5221BE

Accessibility & contrast

On white

16.39
#250F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#250F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F56
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F56#FFFFFF#000000##FFFFFF
##250F561.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#122332
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #250f56;
/* rgb */ color: rgb(37, 15, 86);
/* oklch */ color: oklch(25.5% 0.118 289.4);
Tailwind
colors: {
  custom: {
    50: '#665086',
    500: '#250f56',
    950: '#000000',
  },
}
SCSS
$custom: #250f56;
$custom-light: #665086;
$custom-dark: #000000;
JSON
{
  "hex": "#250f56",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 258.592,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25499,
    "c": 0.11773,
    "h": 289.4
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#250F56
secondary
#729031
accent
#ED3BB6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250F56

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

Preview Lab → · Contrast checker → · Palette generator →

#250F56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva