#230A41#230A41

#230A41 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.097 H 298.9°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#230A41
RGBrgb(35, 10, 65)
HSLhsl(267, 73%, 15%)
HSVhsv(267, 85%, 25%)
CMYKcmyk(46.2%, 84.6%, 0%, 74.5%)
CIE-LABlab(8.62, 26.05, -29.61)
CIE-LCHlch(8.62, 39.44, 311.34°)
OKLaboklab(22.4% 0.0468 -0.0846)
OKLCHoklch(22.4% 0.097 298.9)
XYZxyz(1.7556, 0.9560, 5.0920)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A41 #28410A
analogous
#0A0C41 #230A41 #3F0A41
triadic
#230A41 #41230A #0A4123
tetradic
#230A41 #410A0C #28410A #0A413F
square
#230A41 #410A0C #28410A #0A413F
split-complementary
#230A41 #413F0A #0C410A
monochromatic
#0E041B #0E041B #230A41 #401276 #5C1AAB

Accessibility & contrast

On white

17.63
#230A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A41
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A41#FFFFFF#000000##FFFFFF
##230A411.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#1C1825
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230a41;
/* rgb */ color: rgb(35, 10, 65);
/* oklch */ color: oklch(22.4% 0.097 298.9);
Tailwind
colors: {
  custom: {
    50: '#624c76',
    500: '#230a41',
    950: '#000000',
  },
}
SCSS
$custom: #230a41;
$custom-light: #624c76;
$custom-dark: #000000;
JSON
{
  "hex": "#230a41",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 267.273,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22397,
    "c": 0.09671,
    "h": 298.9
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#230A41
secondary
#577E29
accent
#F0389C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #230A41

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

Preview Lab → · Contrast checker → · Palette generator →

#230A41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva