#250E40#250E40

#250E40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.090 H 300.5°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#250E40
RGBrgb(37, 14, 64)
HSLhsl(268, 64%, 15%)
HSVhsv(268, 78%, 25%)
CMYKcmyk(42.2%, 78.1%, 0%, 74.9%)
CIE-LABlab(9.62, 23.95, -27.26)
CIE-LCHlch(9.62, 36.28, 311.30°)
OKLaboklab(23.14% 0.0458 -0.0777)
OKLCHoklch(23.14% 0.09 300.5)
XYZxyz(1.8452, 1.0775, 4.9603)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250E40 #29400E
analogous
#0E1040 #250E40 #3E0E40
triadic
#250E40 #40250E #0E4025
tetradic
#250E40 #400E10 #29400E #0E403E
square
#250E40 #400E10 #29400E #0E403E
split-complementary
#250E40 #403E0E #10400E
monochromatic
#0F0519 #0F0519 #250E40 #421972 #5F24A4

Accessibility & contrast

On white

17.28
#250E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#250E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250E40
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250E40#FFFFFF#000000##FFFFFF
##250E401.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#1F1A25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #250e40;
/* rgb */ color: rgb(37, 14, 64);
/* oklch */ color: oklch(23.1% 0.090 300.5);
Tailwind
colors: {
  custom: {
    50: '#634e75',
    500: '#250e40',
    950: '#000000',
  },
}
SCSS
$custom: #250e40;
$custom-light: #634e75;
$custom-dark: #000000;
JSON
{
  "hex": "#250e40",
  "rgb": {
    "r": 37,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 267.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23143,
    "c": 0.09015,
    "h": 300.5
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#250E40
secondary
#587B2F
accent
#E7419B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #250E40

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

Preview Lab → · Contrast checker → · Palette generator →

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