#230E41#230E41

#230E41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.091 H 297.6°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#230E41
RGBrgb(35, 14, 65)
HSLhsl(265, 65%, 15%)
HSVhsv(265, 78%, 25%)
CMYKcmyk(46.2%, 78.5%, 0%, 74.5%)
CIE-LABlab(9.43, 23.78, -28.30)
CIE-LCHlch(9.43, 36.96, 310.05°)
OKLaboklab(22.97% 0.0422 -0.0808)
OKLCHoklch(22.97% 0.091 297.6)
XYZxyz(1.8041, 1.0530, 5.1082)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E41 #2C410E
analogous
#0E1241 #230E41 #3C0E41
triadic
#230E41 #41230E #0E4123
tetradic
#230E41 #410E12 #2C410E #0E413C
square
#230E41 #410E12 #2C410E #0E413C
split-complementary
#230E41 #413C0E #12410E
monochromatic
#0E0519 #0E0519 #230E41 #3E1973 #5924A6

Accessibility & contrast

On white

17.35
#230E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E41
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E41#FFFFFF#000000##FFFFFF
##230E411.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#1C1A26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230e41;
/* rgb */ color: rgb(35, 14, 65);
/* oklch */ color: oklch(23.0% 0.091 297.6);
Tailwind
colors: {
  custom: {
    50: '#614e76',
    500: '#230e41',
    950: '#000000',
  },
}
SCSS
$custom: #230e41;
$custom-light: #614e76;
$custom-dark: #000000;
JSON
{
  "hex": "#230e41",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 264.706,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22968,
    "c": 0.09117,
    "h": 297.6
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#230E41
secondary
#5C7C2F
accent
#E840A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230E41

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

Preview Lab → · Contrast checker → · Palette generator →

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