#230F5E#230F5E

#230F5E is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.128 H 284.9°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#230F5E
RGBrgb(35, 15, 94)
HSLhsl(255, 72%, 21%)
HSVhsv(255, 84%, 37%)
CMYKcmyk(62.8%, 84%, 0%, 63.1%)
CIE-LABlab(12.65, 32.45, -42.97)
CIE-LCHlch(12.65, 53.84, 307.06°)
OKLaboklab(26.16% 0.033 -0.1238)
OKLCHoklch(26.16% 0.128 284.9)
XYZxyz(2.8837, 1.5069, 10.7264)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F5E #4A5E0F
analogous
#0F235E #230F5E #4B0F5E
triadic
#230F5E #5E230F #0F5E23
tetradic
#230F5E #5E0F23 #4A5E0F #0F5E4B
square
#230F5E #5E0F23 #4A5E0F #0F5E4B
split-complementary
#230F5E #5E4B0F #235E0F
monochromatic
#0A041A #0F0729 #230F5E #371793 #4A20C8

Accessibility & contrast

On white

16.14
#230F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#230F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F5E
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F5E#FFFFFF#000000##FFFFFF
##230F5E1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#022636
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #230f5e;
/* rgb */ color: rgb(35, 15, 94);
/* oklch */ color: oklch(26.2% 0.128 284.9);
Tailwind
colors: {
  custom: {
    50: '#67508d',
    500: '#230f5e',
    950: '#000000',
  },
}
SCSS
$custom: #230f5e;
$custom-light: #67508d;
$custom-dark: #000000;
JSON
{
  "hex": "#230f5e",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 255.19,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26164,
    "c": 0.12812,
    "h": 284.9
  },
  "luminance": 0.01507
}

Semantic roles & 50–950 ramp

primary
#230F5E
secondary
#7E9731
accent
#EF39C1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #230F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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