#230F41#230F41

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

Color values

HEX#230F41
RGBrgb(35, 15, 65)
HSLhsl(264, 63%, 16%)
HSVhsv(264, 77%, 25%)
CMYKcmyk(46.2%, 76.9%, 0%, 74.5%)
CIE-LABlab(9.65, 23.17, -27.94)
CIE-LCHlch(9.65, 36.30, 309.67°)
OKLaboklab(23.13% 0.041 -0.0798)
OKLCHoklch(23.13% 0.09 297.2)
XYZxyz(1.8178, 1.0806, 5.1128)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F41 #2D410F
analogous
#0F1441 #230F41 #3C0F41
triadic
#230F41 #41230F #0F4123
tetradic
#230F41 #410F14 #2D410F #0F413C
square
#230F41 #410F14 #2D410F #0F413C
split-complementary
#230F41 #413C0F #14410F
monochromatic
#0D0619 #0D0619 #230F41 #3E1A73 #5926A4

Accessibility & contrast

On white

17.27
#230F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#230F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F41
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F41#FFFFFF#000000##FFFFFF
##230F411.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#1C1B26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230f41;
/* rgb */ color: rgb(35, 15, 65);
/* oklch */ color: oklch(23.1% 0.090 297.2);
Tailwind
colors: {
  custom: {
    50: '#614f76',
    500: '#230f41',
    950: '#000000',
  },
}
SCSS
$custom: #230f41;
$custom-light: #614f76;
$custom-dark: #000000;
JSON
{
  "hex": "#230f41",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 264,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23125,
    "c": 0.08966,
    "h": 297.2
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#230F41
secondary
#5D7B30
accent
#E642A4
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #230F41

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

Preview Lab → · Contrast checker → · Palette generator →

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